scikit learn - Using python libraries outside of python distribution -
i have installed python 2.7 through anaconda distribution. use of included libraries outside of anaconda. using sklearn works fine anaconda prompt. however, when running
import sklearn
from .py script in rhino, following error:
message: no module named _check_build ___________________________________________________________________________ contents of c:\users\tsawen\appdata\local\continuum\anaconda2\lib\site-packages\sklearn\__check_build: setup.py setup.pyc _check_build.pyd __init__.py __init__.pyc ___________________________________________________________________________ seems scikit-learn has not been built correctly. if have installed scikit-learn source, please not forget build package before using it: run `python setup.py install` or `make` in source directory. if have used installer, please check suited python version, operating system , platform. traceback: line 31, in raise_build_error, "c:\users\tsawen\appdata\local\continuum\anaconda2\lib\site-packages\sklearn\__check_build\__init__.py" line 46, in <module>, "c:\users\tsawen\appdata\local\continuum\anaconda2\lib\site-packages\sklearn\__check_build\__init__.py" line 56, in <module>, "c:\users\tsawen\appdata\local\continuum\anaconda2\lib\site-packages\sklearn\__init__.py" line 1, in <module>, "c:\users\tsawen\appdata\local\temp\tempscript.py"
some previous discussion here points installation being faulty. however, since importing sklearn within anaconda works fine, python seems have been installed properly.
can out using package outside of distribution?
Comments
Post a Comment