Fix Travis-CI builds on Linux
dguido opened this issue · 1 comments
dguido commented
For reasons we can't understand, PyYAML fails to install properly on Travis-CI Linux builds. It works on Ubuntu installs locally. But if you're trying to install PyYAML with pip on Travis-CI, python can't find the import and the build fails.
We tried a few different strategies: setting virtualenv to look for system packages and installing them with apt, pip with and without sudo, using env python -m pip
. Nothing works as far as we can tell. OS X builds fine with a simple sudo pip install pyyaml
so we're not sure what the problem is.