-
Notifications
You must be signed in to change notification settings - Fork 519
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
pip install appears to fail on macos (v10.13.4) with python 3.7.0b3 #152
Comments
As homebrew upgraded now to python3.7, pyyaml is not usable on macos at the moment. |
Note that if you uninstall libyaml first, then the |
This doesn't seem to work on High Sierra (10.13.5) with pip 10.0.1, Python 3.7.0. |
I made a small test repo to show @ilovezfs commented solution above: https://github.com/ingydotnet/pyyaml-travis-test/blob/master/.travis.yml Travis seems to have libyaml already installed by default. The first test fails because it pyyaml fails to pip3 install with libyaml: https://travis-ci.com/ingydotnet/pyyaml-travis-test/builds/77803615#L570 When libyaml is uninstalled, pip3 install pyyaml works: https://travis-ci.com/ingydotnet/pyyaml-travis-test/builds/77803615#L594 This is a temporary workaround until PyYAML-4.2 is released. The PyYAML team is working to get that release ASAP (if the work on building wheels is successful, that should happen tomorrow). I hope this is helpful in the meantime. |
fwiw - my workaround thus far has seemed to be "okay" but this isn't great for anyone that has ephemeral environments:
|
We were also struck by this issue. Our workaround was to pin our containers that install PyYAML to use Python 3.6 until this problem is fixed. |
We are planning to release PyYAML 3.13 (fixes Python 3.7 usage) in about 6 hours. |
Anytime now! 😄 I just came across this, debugging the PyYAML issue on MacOS. |
Closing this. Reopen if still problems with 3.13. |
- See yaml/pyyaml#152 yaml/pyyaml#152 (comment) (cherry picked from commit 24278fc)
Installing PyYAML on MacOS caused an error, fixed by version 3.13 Reference: yaml/pyyaml#152
I note that there is a request to add Python 3.7 in #144. I'd additionally like to request that the travis build run with both clang and gcc.
The text was updated successfully, but these errors were encountered: