【发布时间】:2022-01-27 19:37:55
【问题描述】:
我无法使用此命令在 python 项目中安装 vtk:
python -m pip install vtk
我收到此错误:
ERROR: No matching distribution found for vtk
ERROR: Could not find a version that satisfies the requirement vtk (from versions: none)
我尝试更新我的 pip 包:
python -m pip install --upgrade pip
我尝试直接从项目目录安装.whl文件:
python -m pip install .\vtk-9.1.0-cp39-cp39-win_amd64.whl
我尝试了所有 vtk .whl 文件版本,但我不断收到此错误:
ERROR: vtk-9.1.0-cp37-cp37m-win_amd64.whl is not a supported wheel on this platform.
PS:我使用 Python 3.10.0
【问题讨论】:
-
你用的是什么版本的python?
-
pip install vtk在 python 3.6.8 上为我工作,但在 3.10.2 上没有。仍在调查中 -
我使用的是 Python 3.10.0
标签: python python-3.x pip vtk