ImportError: No module named scitools.std

2019-09-06 19:26发布

问题:

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

Still didn't work. How can I help my computer "find scitools"?

Thank you for your time.

Kind regards, Marius

回答1:

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.

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.



回答2:

In anaconda:

conda install --channel johannr scitools

ref to :
hplgit/scitools: Additional scientific computing functionality in Python - extensions to NumPy/SciPy++