问题描述
我安装了Anaconda,但是现在我想在scitools.std中使用StringFunction时出现错误:ImportError:没有名为scitools.std的模块!所以我这样做了:
I installed Anaconda, but now that I wanted to use StringFunction in scitools.std I get error: ImportError: No module named scitools.std! So I did this:
sudo apt-get install python-scitools
还是没有用.如何帮助我的计算机查找scitools"?
Still didn't work. How can I help my computer "find scitools"?
谢谢您的时间.
亲切的问候,马吕斯
推荐答案
apt-get install
会将其安装到系统Python中,而不是Anaconda Python中.您需要使用conda
将软件包安装到Anaconda中.
apt-get install
is going to install it into the system Python, not the Anaconda Python. You need to use conda
to install packages into Anaconda.
还没有为Anaconda开发的官方scitools,但我已经构建了一个并将其放在binstar上(我假设您使用的是Python 2.7、64位Linux). conda install -c asmeurer scitools
会得到它.
There isn't an official scitools build for Anaconda, but I've built one and put it on binstar (I'm assuming you are using Python 2.7, 64-bit Linux). conda install -c asmeurer scitools
will get it.
这篇关于ImportError:没有名为scitools.std的模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!