ModuleNotFoundError: No module named 'spatial'
ModuleNotFoundError: No module named 'spatial'
我在已安装所有要求的脚本中遇到模块未找到错误。我正在尝试导入空间库:
import spatial
这个图书馆位于:
C:\Users\ASUS\AppData\Local\Programs\Python\Python37\Lib\site-packages\scipy\spatial
我通过pip list
检查了安装包,没问题。我尝试在 Pycharm 项目环境中安装 spatial-lib 但无法完成:
Could not find a version that satisfies the requirement spatial-lib (from versions: )
No matching distribution found for spatial-lib
You are using pip version 10.0.1, however version 18.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
这毫无意义,因为我的 pip 是最新的。说得好,导入scipy也有这样的问题。
我在已安装所有要求的脚本中遇到模块未找到错误。我正在尝试导入空间库:
import spatial
这个图书馆位于: C:\Users\ASUS\AppData\Local\Programs\Python\Python37\Lib\site-packages\scipy\spatial
我通过pip list
检查了安装包,没问题。我尝试在 Pycharm 项目环境中安装 spatial-lib 但无法完成:
Could not find a version that satisfies the requirement spatial-lib (from versions: ) No matching distribution found for spatial-lib You are using pip version 10.0.1, however version 18.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.
这毫无意义,因为我的 pip 是最新的。说得好,导入scipy也有这样的问题。