Created
July 6, 2016 20:14
-
-
Save curzona/9a22d8e66853250632293b08ab8e7a9d to your computer and use it in GitHub Desktop.
pyyaml==3.11 install from zip failing on Windows with latest setuptools==24.0.2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Users\ADCURZON\Desktop>virtualenv env | |
New python executable in C:\Users\ADCURZON\Desktop\env\Scripts\python.exe | |
Installing setuptools, pip, wheel...done. | |
C:\Users\ADCURZON\Desktop>env\Scripts\activate | |
(env) C:\Users\ADCURZON\Desktop>pip install -U setuptools==23.1.0 | |
Collecting setuptools==23.1.0 | |
Using cached setuptools-23.1.0-py2.py3-none-any.whl | |
Installing collected packages: setuptools | |
Found existing installation: setuptools 24.0.2 | |
Uninstalling setuptools-24.0.2: | |
Successfully uninstalled setuptools-24.0.2 | |
Successfully installed setuptools-23.1.0 | |
(env) C:\Users\ADCURZON\Desktop>python --version | |
Python 2.7.11 | |
(env) C:\Users\ADCURZON\Desktop>python -c "import setuptools; print setuptools.__version__" | |
23.1.0 | |
(env) C:\Users\ADCURZON\Desktop>pip install --no-cache-dir pyyaml==3.11 | |
Collecting pyyaml==3.11 | |
Downloading PyYAML-3.11.zip (371kB) | |
100% |################################| 378kB 326kB/s | |
Installing collected packages: pyyaml | |
Running setup.py install for pyyaml ... done | |
Successfully installed pyyaml-3.11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Users\ADCURZON\Desktop>virtualenv env | |
New python executable in C:\Users\ADCURZON\Desktop\env\Scripts\python.exe | |
Installing setuptools, pip, wheel...done. | |
C:\Users\ADCURZON\Desktop>env\Scripts\activate | |
(env) C:\Users\ADCURZON\Desktop>python --version | |
Python 2.7.11 | |
(env) C:\Users\ADCURZON\Desktop>python -c "import setuptools; print setuptools.__version__" | |
24.0.2 | |
(env) C:\Users\ADCURZON\Desktop>pip install PyYAML-3.11-cp27-cp27m-win_amd64.whl | |
Processing c:\users\adcurzon\desktop\pyyaml-3.11-cp27-cp27m-win_amd64.whl | |
Installing collected packages: PyYAML | |
Successfully installed PyYAML-3.11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Users\ADCURZON\Desktop>virtualenv env | |
New python executable in C:\Users\ADCURZON\Desktop\env\Scripts\python.exe | |
Installing setuptools, pip, wheel...done. | |
C:\Users\ADCURZON\Desktop>env\Scripts\activate | |
(env) C:\Users\ADCURZON\Desktop>python --version | |
Python 2.7.11 | |
(env) C:\Users\ADCURZON\Desktop>python -c "import setuptools; print setuptools.__version__" | |
24.0.2 | |
(env) C:\Users\ADCURZON\Desktop>pip install --no-cache-dir pyyaml==3.11 | |
Collecting pyyaml==3.11 | |
Downloading PyYAML-3.11.zip (371kB) | |
100% |################################| 378kB 3.3MB/s | |
Installing collected packages: pyyaml | |
Running setup.py install for pyyaml ... error | |
Complete output from command c:\users\adcurzon\desktop\env\scripts\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\adcurzon\\appdata\\local\\temp\\pip-build-ptwmfh\\pyyaml\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\adcurzon\appdata\local\temp\pip-s1evr4-record\install-record.txt --single-version-externally-managed --compile --install-headers c:\users\adcurzon\desktop\env\include\site\python2.7\pyyaml: | |
running install | |
running build | |
running build_py | |
creating build | |
creating build\lib.win-amd64-2.7 | |
creating build\lib.win-amd64-2.7\yaml | |
copying lib\yaml\composer.py -> build\lib.win-amd64-2.7\yaml | |
copying lib\yaml\constructor.py -> build\lib.win-amd64-2.7\yaml | |
copying lib\yaml\cyaml.py -> build\lib.win-amd64-2.7\yaml | |
copying lib\yaml\dumper.py -> build\lib.win-amd64-2.7\yaml | |
copying lib\yaml\emitter.py -> build\lib.win-amd64-2.7\yaml | |
copying lib\yaml\error.py -> build\lib.win-amd64-2.7\yaml | |
copying lib\yaml\events.py -> build\lib.win-amd64-2.7\yaml | |
copying lib\yaml\loader.py -> build\lib.win-amd64-2.7\yaml | |
copying lib\yaml\nodes.py -> build\lib.win-amd64-2.7\yaml | |
copying lib\yaml\parser.py -> build\lib.win-amd64-2.7\yaml | |
copying lib\yaml\reader.py -> build\lib.win-amd64-2.7\yaml | |
copying lib\yaml\representer.py -> build\lib.win-amd64-2.7\yaml | |
copying lib\yaml\resolver.py -> build\lib.win-amd64-2.7\yaml | |
copying lib\yaml\scanner.py -> build\lib.win-amd64-2.7\yaml | |
copying lib\yaml\serializer.py -> build\lib.win-amd64-2.7\yaml | |
copying lib\yaml\tokens.py -> build\lib.win-amd64-2.7\yaml | |
copying lib\yaml\__init__.py -> build\lib.win-amd64-2.7\yaml | |
running build_ext | |
creating build\temp.win-amd64-2.7 | |
creating build\temp.win-amd64-2.7\Release | |
checking if libyaml is compilable | |
error: [Error 2] The system cannot find the file specified | |
---------------------------------------- | |
Command "c:\users\adcurzon\desktop\env\scripts\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\adcurzon\\appdata\\local\\temp\\pip-build-ptwmfh\\pyyaml\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\adcurzon\appdata\local\temp\pip-s1evr4-record\install-record.txt --single-version-externally-managed --compile --install-headers c:\users\adcurzon\desktop\env\include\site\python2.7\pyyaml" failed with error code 1 in c:\users\adcurzon\appdata\local\temp\pip-build-ptwmfh\pyyaml\ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment