欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

安装记录-Python 安装 VTK的 问题

程序员文章站 2022-05-29 08:19:47
...

Python 安装 VTK的 问题

版本:

python 3.7.3
vtk 8.2.0
mayavi 4.7.1+vtk82-cp37-cp37m-win_amd64

报错:

执行 pip install --target=d:\python\lib\site-packages D:\NewFile\mayavi-4.7.1+vtk82-cp37-cp37m-win_amd64.whl -i https://pypi.mirrors.ustc.edu.cn/simple/ 后报错
(一如既往的版本问题 tenserflow, paddlepaddle,gast之前安装版本不兼容(实在不想该版本了,又要升级又要降级的。。。))
之前安装pytorch、tenserflow都出现的问题

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
spyder 3.3.6 requires pyqt5<5.13; python_version >= "3", which is not installed.
spyder 3.3.6 requires pyqtwebengine<5.13; python_version >= "3", which is not installed.
astroid 2.2.5 requires typed-ast>=1.3.0; implementation_name == "cpython", which is not installed.
tensorflow 2.0.0 requires gast==0.2.2, but you have gast 0.3.3 which is incompatible.
requests 2.24.0 requires idna<3,>=2.5, but you have idna 3.2 which is incompatible.
paddlepaddle 1.8.5 requires opencv-python<=4.2.0.32, but you have opencv-python 4.4.0.46 which is incompatible.

c++挺好的