Please include scikit-learn on Prerequesites
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 107
- Forks
- 46
- PR merge metrics
- No merged PRs in 30d
Description
I thought I've installed all the prequesites but when running make setup:
[...]
byte-compiling ..//lib/python3.5/site-packages/mlpy/da.py to da.cpython-35.pyc
writing byte-compilation script '/tmp/tmp0e99ak1r.py'
/home/gut/venv/bin/python3 -OO /tmp/tmp0e99ak1r.py
removing /tmp/tmp0e99ak1r.py
running install_egg_info
Writing ..//lib/python3.5/site-packages/mlpy-3.5.0-py3.5.egg-info
Partial import of sklearn during the build process.
Traceback (most recent call last):
File "setup.py", line 149, in get_scipy_status
import scipy
ImportError: No module named 'scipy'
Traceback (most recent call last):
File "setup.py", line 270, in <module>
setup_package()
File "setup.py", line 260, in setup_package
.format(scipy_req_str, instructions))
ImportError: Scientific Python (SciPy) is not installed.
scikit-learn requires SciPy >= 0.9.
Installation instructions are available on the scikit-learn website: http://scikit-learn.org/stable/install.html
Partial import of sklearn during the build process.
Traceback (most recent call last):
File "setup.py", line 149, in get_scipy_status
import scipy
ImportError: No module named 'scipy'
Traceback (most recent call last):
File "setup.py", line 270, in <module>
setup_package()
File "setup.py", line 260, in setup_package
.format(scipy_req_str, instructions))
ImportError: Scientific Python (SciPy) is not installed.
scikit-learn requires SciPy >= 0.9.
Installation instructions are available on the scikit-learn website: http://scikit-learn.org/stable/install.html
Error installing scikit-learn!
Makefile:188: recipe for target '.setup' failed
make: *** [.setup] Error 1
a pip install scipy scikit-learn cython seems to solve this kind of issues. Swig also needed to be installed (but it's not a python module, so I sudo apt install'ed it).
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the Makefile target .setup around line 188 and the prerequisite list used by make setup. Compare the declared Python dependencies with the reported missing SciPy and scikit-learn requirements; done means setup no longer fails for these missing prerequisites.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, scikit-learn
- Domain
- build-system, machine-learning
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100