-
Notifications
You must be signed in to change notification settings - Fork 996
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 3.7 installation fails due to PyYAML 3.12 #3249
Comments
The same problem is present on Msys2, where Python 3.7 is now the default version (I don't even know if it can be downgraded). I didn't post an issue about it earlier, because I don't have access to Windows to gather logs. |
Installation fails with Python 3.7 and PyYAML 3.12 due to yaml/pyyaml#126. Fixes #3249.
Installation fails with Python 3.7 and PyYAML 3.12 due to yaml/pyyaml#126. Fixes conan-io#3249.
pip install --ignore-installed PyYAML this worked once you have done that install the library afterwards. |
Thanks, @lasote Changing the version of PyYAML from 3.12 to 3.13 helped me! |
@lasote , Thanks for the issue (Changing of 3.12 to 3.13) helped me a lot😊 |
Conan version: 1.6
Python version: 3.7
Issue:
Installation of Conan fails when using Python 3.7 fails due to a bug with PyYAML
Reproduce:
Install Python 3.7 including pip3
pip3 install conan
Error out
Command "/usr/local/opt/python/bin/python3.7 -u -c "import setuptools, tokenize;__file__='/private/tmp/pip-install-7qbn6h01/PyYAML/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/tmp/pip-record-obq_96in/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/tmp/pip-install-7qbn6h01/PyYAML/
Solution
Change dependency version to 3.13.
The text was updated successfully, but these errors were encountered: