scikit-learn: pip install scikit-learn fails in my virtualenv
When I’m installing the package following shows up:
Command "<my-directory>/dev_env/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-ya0bvm5k/scikit-learn/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-9skvu63c-record/install-record.txt --single-version-externally-managed --compile --install-headers <my-directory>/dev_env/include/site/python3.6/scikit-learn --home=/tmp/tmpw1u1nxgr" failed with error code 1 in /tmp/pip-build-ya0bvm5k/scikit-learn/
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 15 (5 by maintainers)
@root-sudip This is not related to openblas or lapack. You should install
python-dev
orpython-devel
depending of your distribution.The important message in the traceback is:
Why are you using 3.6-dev?? Perhaps you mean Python 3.7, which we don’t yet support. We’re likely to release version 0.19.2 with Python 3.7 support in the next couple of days.
no you should install
python-dev
via the system package manager. For ubuntu it should be:At least I hope so 😄 We could have trouble with blas later on 😉