[英]Install vtk toolkit for Python 3.7.3
我正在安裝一台新的Windows 10 PC。 我在嘗試為Python 3.7.3安裝vtk 8.1.2時遇到問題,這是PC上唯一的版本。
這是我嘗試使用pip 19.1.1和wget進行的操作:
C:\Users\staff>pip install vtk
Collecting vtk
ERROR: Could not find a version that satisfies the requirement vtk (from
versions: none)
ERROR: No matching distribution found for vtk
C:\Users\staff>wget https://files.pythonhosted.org/packages/6b/55/.../vtk-8.1.2-cp37-cp37m-win_amd64.whl
--2019-06-20 08:52:49--
https://files.pythonhosted.org/packages/6b/55/.../vtk-8.1.2-cp37-cp37m-win_amd64.whl
Resolving files.pythonhosted.org (files.pythonhosted.org)... 151.101.29.63
Connecting to files.pythonhosted.org
(files.pythonhosted.org)|151.101.29.63|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 24390482 (23M) [binary/octet-stream]
Saving to: 'vtk-8.1.2-cp37-cp37m-win_amd64.whl'
vtk-8.1.2-cp37-cp37m-win_amd6 100%
[==========================>] 23.26M 52.7MB/s in 0.4s
2019-06-20 08:52:50 (52.7 MB/s) - 'vtk-8.1.2-cp37-cp37m-win_amd64.whl' saved
[24390482/24390482]
C:\Users\staff>pip install vtk-8.1.2-cp37-cp37m-win_amd64.whl
ERROR: vtk-8.1.2-cp37-cp37m-win_amd64.whl is not a supported wheel on this
platform.
我省略了完整的wget鏈接以進行格式化。 為了避免混亂,我寧願讓PC沒有虛擬環境和多個Python版本。 你有什么建議嗎?
您的Python是32位的,而vtk僅提供 64位的構建。 安裝64位Python,然后重試。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.