I'm importing:
from scipy import misc, io
But I get these errors:
Traceback (most recent call last):
File "C:\work_asaaki\code\generateProposals.py", line 20, in <module>
from scipy import misc, io
File "C:\Python27\lib\site-packages\scipy\misc\__init__.py", line 47, in <module>
from scipy.special import comb, factorial, factorial2, factorialk
File "C:\Python27\lib\site-packages\scipy\special\__init__.py", line 548, in <module>
from .basic import *
File "C:\Python27\lib\site-packages\scipy\special\basic.py", line 17, in <module>
from . import orthogonal
File "C:\Python27\lib\site-packages\scipy\special\orthogonal.py", line 90, in <module>
from scipy import linalg
File "C:\Python27\lib\site-packages\scipy\linalg\__init__.py", line 159, in <module>
from .misc import *
File "C:\Python27\lib\site-packages\scipy\linalg\misc.py", line 5, in <module>
from . import blas
File "C:\Python27\lib\site-packages\scipy\linalg\blas.py", line 145, in <module>
from scipy.linalg import _fblas
ImportError: DLL load failed: The specified module could not be found.
Exception in thread Thread-1 (most likely raised during interpreter shutdown):
I'm running 64-bit Windows 7, and Python 2.7, In Anaconda's Spyder. I've tried the following:
pip install scipy-stack # this couldn't find any downloads that satisfy scipy-stack
pip install _fblas # this wasn't found
pip install ipython # this was successful
pip install scikit-learn # this was successful
pip install scipy # this was successful
I tried downloading SciPy and SciPy-Stack and scitkit-image from http://www.lfd.uci.edu/~gohlke/pythonlibs/
but I don't know what's wrong - it seems all the links are broken. My download always fails midway. Is there any way out of this? (Without having to re-install Anaconda Spyder from scratch)?
I had the same problem and installing of the latest version of NumPy+MKL from http://www.lfd.uci.edu/~gohlke/pythonlibs/ helped me. By the way, strangely I couldn't install the .whl file via wheel, but installing via pip worked.
In my case, I got this error when I run
I solve this by updating scipy from
0.16.0-np110py27_0
to0.17.1-np110py27_1
The following packages will be downloaded:
The following NEW packages will be INSTALLED:
The following packages will be UPDATED:
For those who the previous answer doesn't solve the problem, take a look at the answer for this question: https://stackoverflow.com/a/17511983/1407575
Worked for me!
Search for your Numpy+MKL version as described here.
This worked for me:
I faced the similar issue while working with statsmodels package for time series analytics. I am using Anaconda 3.X distribution. May of the answers pointing to install the numpy again form the mkl distribution after uninstalling the regular one.
That might be a good idea but i dont want to disturb my current environment, so i have create a new python virtual environment and installed packages using pip in the following order numpy>>scipy>>statsmodels
This did worked for me.
this worked for me
... The following NEW packages will be INSTALLED:
The following packages will be UPDATED:
Proceed ([y]/n)? y
To test, I typed python