Python CMake配置错误:无法读取文件字符串(Windows)

Python CMake配置错误:无法读取文件字符串(Windows),python,visual-studio,cmake,vtk,Python,Visual Studio,Cmake,Vtk,我是VTK新手,正在尝试在windows上安装它。在CMake上运行configure命令时,我收到以下错误: FILE STRINGS file "C:/MyProjects/Microsoft-Visual-Studio/Shared/Python37_64/patchlevel.h" cannot be read. Call Stack (most recent call first): CMake/vtkWrapPython.cmake:167 (find_package

我是VTK新手,正在尝试在windows上安装它。在CMake上运行configure命令时,我收到以下错误:

  FILE STRINGS file
  "C:/MyProjects/Microsoft-Visual-Studio/Shared/Python37_64/patchlevel.h"
  cannot be read.
Call Stack (most recent call first):
  CMake/vtkWrapPython.cmake:167 (find_package)
  Utilities/Python/CMakeLists.txt:4 (include)


Found PythonLibs: C:/MyProjects/Microsoft-Visual-Studio/Shared/Python37_64/libs/python3.lib  
CMake Error at CMake/FindPythonLibs.cmake:183 (FILE):
  FILE STRINGS file
  "C:/MyProjects/Microsoft-Visual-Studio/Shared/Python37_64/patchlevel.h"
  cannot be read.
Call Stack (most recent call first):
  CMake/vtkPythonWrapping.cmake:6 (find_package)
  Wrapping/PythonCore/CMakeLists.txt:2 (include)


CMake Warning at CMake/vtkPythonWrapping.cmake:14 (message):
  Python library .  mismatches python 3.7.
Call Stack (most recent call first):
  Wrapping/PythonCore/CMakeLists.txt:2 (include)


CMake Error at CMake/FindPythonLibs.cmake:183 (FILE):
  FILE STRINGS file
  "C:/MyProjects/Microsoft-Visual-Studio/Shared/Python37_64/patchlevel.h"
  cannot be read.
Call Stack (most recent call first):
  CMake/vtkPythonWrapping.cmake:6 (find_package)
  Wrapping/Python/CMakeLists.txt:22 (include)


CMake Warning at CMake/vtkPythonWrapping.cmake:14 (message):
  Python library .  mismatches python 3.7.
Call Stack (most recent call first):
  Wrapping/Python/CMakeLists.txt:22 (include)


CMake Error at CMake/FindPythonLibs.cmake:183 (FILE):
  FILE STRINGS file
  "C:/MyProjects/Microsoft-Visual-Studio/Shared/Python37_64/patchlevel.h"
  cannot be read.
Call Stack (most recent call first):
  Wrapping/Python/CMakeLists.txt:240 (find_package)


Performing Test VTK_UNDEFINED_SYMBOLS_ALLOWED - Failed
Configuring incomplete, errors occurred! 

系统为:Windows-6.3.9600-AMD64。我尝试以管理员身份运行它,但没有任何更改。我能做些什么?

你能和我们分享你用来配置Cmake的命令吗?另外,Python是否安装在
C:\MyProjects\Microsoft Visual Studio\Shared\Python37\u 64
?你可能想在我们的讨论中问一下:你能和我们分享你用来配置Cmake的命令吗,Python是否安装在
C:\MyProjects\Microsoft Visual Studio\Shared\Python37\u 64
?您可能想询问我们的讨论: