I'm having trouble installing python packages using pip in virtualenv. After some research, there seems to be a problem with PyYaml. I downloaded the latest version and tried to create it. There are no problems with using system python. However, when I try to run the same command (installing python setup.py) after activating my virtualenv, I get the following error:
gcc -bundle -bundle_loader python.exe -L/usr/local/opt/readline/lib -L/usr/local/opt/readline/lib - L/Users/a/.pyenv/versions/2.7.7/lib build/temp.macosx-10.10-x86_64-2.7/ext/_yaml.o -lyaml -o build/lib.macosx-10.10-x86_64-2.7/_yaml.so ld: file not found: python.exe clang: error: linker command failed with exit code 1 (use -v to see invocation) error: command 'gcc' failed with exit status 1
I have no idea where it came from ... Any clue?
source share