我在Arch Linux上使用Python3.7。我一直试图用pip安装Mayavi,但在安装vtk时总是失败。因此,我发现,即使试图通过pip 自行安装vtk,vtk实际上也没有安装。我知道这个错误:
$ sudo pip3 install vtk
Collecting vtk
Could not find a version that satisfies the requirement vtk (from versions: )
No matching distribution found for vtk
对我来说,这似乎是一个愚蠢的错误,但我真的不明白发生了什么。据我所知,VTK应该
我知道VTK现在可以在PyPI ()中作为一个轮子使用,但我无法安装它。有什么办法可以解决这个问题吗?
当我尝试的时候,我得到的是:
$ pip install vtk
Collecting vtk
Could not find a version that satisfies the requirement vtk (from versions: )
No matching distribution found for vtk
我尝试指向轮子的URL,但仍然存在同样的问题。
$ pip install https://pypi.python.org/packages/13/7f/735f
我不小心安装了VTK 9.0.0,但想要降级到8.1.2。
我使用pip uninstall卸载了VTK9.0.0,但现在由于一个奇怪的未知原因无法安装8.1.2:
$ pip install "vtk==8.1"
ERROR: Could not find a version that satisfies the requirement vtk==8.1 (from versions: 9.0.0)
ERROR: No matching distribution found for vtk==8.1
版本8.1肯定是在PyPI中。为什么pip投诉和没有所需的操作?
我尝试在Windows中通过pip安装vtk,但它返回以下错误。
python -m pip install vtk
ERROR: Could not find a version that satisfies the requirement vtk (from versions: none)
ERROR: No matching distribution found for vtk
平台: Windows 10 (64位)
Python: 3.8 (64位)
pip: 20.1
在Windows10 x64平台上使用PipVersion21.3安装python3.8.10的vtk有问题
$ pip install vtk
ERROR: Could not find a version that satisfies the requirement vtk (from versions: none)
ERROR: No matching distribution found for vtk
当我试图安装轮子时:
$ pip install vtk-9.1.0-cp38-cp38-win_amd64.whl
ERROR: vtk-9.1.0-cp38-cp38-win_am
在我的应用程序中,我提供了通过IronPython运行Python脚本。在其中一个需求中,我的C#应用程序中的数据应该使用可视化工具包以3D形式显示。当我尝试在脚本中使用VTK并执行它时,我得到"ImportError: No module named vtk“错误。我搜索了名为vtkCommonPython.pyd的文件,但在我的计算机上找不到它。即使在安装了IronPython之后也应该安装Python吗?从IronPython使用VTK的正确方法是什么?
我正在尝试使用pip安装MayaVi包,但一直收到错误消息(ImportError: No module named vtk)。如何解决此问题?因此,在命令提示符下:$pip install mayavi output File "Tvtk\code_gen.py",第10行,in import vtk ImportError: No module named vtk
我想要Python3.6下的最新版本的vtk Pipy.org表示版本9.0.0:https://pypi.org/project/vtk/#files url指示使用以下命令: pip install vtk 我安装了python 2.7和3.6,所以我实际使用的是: pip3 install vtk 但这会安装8.1.2版,而不是9.0.0版 如果我运行以下命令: pip3 install vtk==9.0.0 Collecting vtk==9.0.0
Could not find a version that satisfies the requirement
我无法使用以下命令在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-
当我试图在anaconda环境下运行vtk时,我遇到了这个错误:
ImportError: No module named 'vtkRenderingFreeTypePython'
到目前为止,为了解决这个问题,我已经尝试过:
使用我的环境activated.Using pip install vtk从anaconda提示符启动,下载vtk的V8.1.2。我以前在一个环境中工作过,但几个月后我就不记得我做过什么了。我发现环境之间的区别是当我输入conda list vtk时。我发现我的旧版本有来自PyPi通道的vtk版本8.1.2,我创建的新版本有V8.2.0。然而,这似乎并不
我正在尝试在Ubuntu20.04.1LTS的python3中使用paraview脚本。如果在命令行中打开python3,则会出现以下错误 $> python3
Python 3.8.2 (default, Jul 16 2020, 14:00:26)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from paraview.simple import *
T
我已经通过python (X,Y) v2.7.10在Windows上安装了Python。如果我试图导入模块vtk.tk.vtkTkRenderWindowInteractor,将得到以下错误:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python27\lib\site-packages\vtk\tk\vtkTkRenderWindowInteractor.py", line 16, in <module&g