[英]ImportError: No module named 'scikits'
I have the scikits package in C:\\Anaconda3\\Lib.我在 C:\\Anaconda3\\Lib 中有 scikits 包。 I also checked the pythonpath using我还检查了 pythonpath 使用
import sys
sys.path
The path variable includes the path in which the package is available. path 变量包括包可用的路径。 Still i face the following error:我仍然面临以下错误:
>>> import scikits
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named 'scikits'
I am using the following python/anaconda version:我正在使用以下 python/anaconda 版本:
Python 3.5.1 |Anaconda 2.5.0 (64-bit)| Python 3.5.1 |Anaconda 2.5.0(64 位)| (default, Jan 29 2016, 15:01:46) [MSC v.1900 64 bit (AMD64)] on win32 (默认,2016 年 1 月 29 日,15:01:46)win32 上的 [MSC v.1900 64 位 (AMD64)]
您可以通过运行以下命令从终端为自己安装 scikits:
pip install --user scikits.audiolab
For those who still have the problem (the accepted answer is expired), try this对于那些仍然有问题的人(接受的答案已过期),试试这个
pip install scikits.bootstrap
Reference: https://pypi.org/project/scikits.bootstrap/参考: https : //pypi.org/project/scikits.bootstrap/
you can also try this:你也可以试试这个:
import sklearn
from sklearn import linear_model
# and not
from scikits.learn import linear_model
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.