SciPy incorrectly installing an issue that cannot be found by the report DLL

Source: Internet
Author: User
Tags keras

The problem is as follows:

E:\project\dl\python\keras>python keras_sample.py
Using Theano backend.
Traceback (most recent):
File "keras_sample.py", line 8, <module>
From Keras.preprocessing.image import Imagedatagenerator
File "D:\Program files\python_3.5\lib\site-packages\keras\preprocessing\image.py", line 9, <module>
From scipy import Ndimage
File "D:\Program files\python_3.5\lib\site-packages\scipy\ndimage\__init__.py", line 161, <module>
From. Filters Import *
File "D:\Program files\python_3.5\lib\site-packages\scipy\ndimage\filters.py", line Notoginseng, in <module>
From Scipy.misc import Doccer
File "D:\Program files\python_3.5\lib\site-packages\scipy\misc\__init__.py", line Wuyi, in <module>
From scipy.special import comb, factorial, factorial2, Factorialk
File "D:\Program files\python_3.5\lib\site-packages\scipy\special\__init__.py", line 627, <module>
From. _ufuncs Import *
Importerror:dll load failed: The specified module could not be found.

This issue is caused by improper installation of scipy .

The steps to properly install scipy are as follows:

1. Download the Visual C + + redistributable Packages.

python3.5 Download version 2015:

https://www.microsoft.com/en-us/download/details.aspx?id=48145

2. Download NUMPY-1.11.0+MKL-CP35-CP35M-WIN32.WHL

Note the version and platform, it is recommended to install the 32 version by default, including Python is also best loaded 32bit.

: http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy

3. Download SCIPY-0.17.0-CP35-NONE-WIN32.WHL

Address and notes Ibid.

Install NumPy and scipy in order with PIP.

It's hard to get deep learning under windows, and Python's installation of various packages is always a hassle.

Python or Linux is a better point.

SciPy incorrectly installing an issue that cannot be found by the report DLL

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.