Using SCIPY

已回答

I am using SCIPYin pycharm community

following code 

from scipy import misc
ascent = misc.ascent()
import matplotlib.pyplot as plt
plt.gray()
plt.imshow(ascent)
plt.show()

the following error pops up:

D:\Image_processing\xyz\venv\Scripts\python.exe D:/Image_processing/xyz/slp1.py
Traceback (most recent call last):
File "D:/Image_processing/xyz/slp1.py", line 1, in <module>
from scipy import misc
File "D:\Image_processing\slp\venv\Lib\site-packages\scipy\misc\__init__.py", line 68, in <module>
from scipy.interpolate._pade import pade as _pade
File "D:\Image_processing\slp\venv\Lib\site-packages\scipy\interpolate\__init__.py", line 175, in <module>
from .interpolate import *
File "D:\Image_processing\slp\venv\Lib\site-packages\scipy\interpolate\interpolate.py", line 21, in <module>
import scipy.special as spec
File "D:\Image_processing\slp\venv\Lib\site-packages\scipy\special\__init__.py", line 640, in <module>
from ._ufuncs import *
File "_ufuncs.pyx", line 1, in init scipy.special._ufuncs
ImportError: DLL load failed: The specified module could not be found.

Process finished with exit code 1

0

Hi, could you please specify the virtualenv base interpreter? Was it by any chance WinPython?

0

请先登录再写评论。