python安装scipy时出现以下错误:
from scipy.misc import imread Traceback (most recent call last): File "D:/Pyproject/qq_Spider/create_cloud.py", line 14, in <module> from scipy.misc import imread ModuleNotFoundError: No module named 'scipy'
scipy下载地址:https://www.lfd.uci.edu/~gohlke/pythonlibs/
选择.whl文件下载:
scipy‑1.1.0rc1‑cp36‑cp36m‑win_amd64.whl
通过pip命令进行安装:
pip install scipy‑1.1.0rc1‑cp36‑cp36m‑win_amd64.whl
成功安装后,导入scipy检验是否成功。
from scipy.misc import imread