windows 我在pip安装bfieldtools时遇到一些错误

pn9klfpd  于 2022-11-26  发布在  Windows
关注(0)|答案(1)|浏览(319)
PS C:\Python\source> pip install bfieldtools
Collecting bfieldtools
  Using cached bfieldtools-0.9.13.3-py3-none-any.whl (1.2 MB)
Collecting trimesh
  Using cached trimesh-3.16.4-py3-none-any.whl (663 kB)
Collecting mayavi
  Using cached mayavi-4.8.1.tar.gz (20.6 MB)
  Installing build dependencies ... error
  ERROR: Command errored out with exit status 1:
   command: 'C:\Users\billlin\AppData\Local\Programs\Python\Python311\python.exe' 'C:\Users\billlin\AppData\Local\Temp\pip-standalone-pip-gje45057\__env_pip__.zip\pip' install --ignore-installed --no-user --prefix 'C:\Users\billlin\AppData\Local\Temp\pip-build-env-32lpxcys\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- oldest-supported-numpy setuptools vtk wheel
       cwd: None
  Complete output (8 lines):
  Collecting oldest-supported-numpy
    Using cached oldest_supported_numpy-2022.8.16-py3-none-any.whl (3.9 kB)
  Collecting setuptools
    Using cached setuptools-65.5.1-py3-none-any.whl (1.2 MB)
  ERROR: Could not find a version that satisfies the requirement vtk (from versions: none)      
  ERROR: No matching distribution found for vtk
  WARNING: You are using pip version 21.3.1; however, version 22.3.1 is available.
  You should consider upgrading via the 'C:\Users\billlin\AppData\Local\Programs\Python\Python311\python.exe -m pip install --upgrade pip' command.

有人能帮我吗?我把日志列成上面的样子。我用的是22. 3. 1版本,有人让我用回以前版本的PIP来解决另一个问题。

nnvyjq4y

nnvyjq4y1#

通过输入以下命令在vtx下面安装

pip install vtk==9.2.2

https://pypi.org/project/vtk/

相关问题