1200字范文,内容丰富有趣,写作的好帮手!
1200字范文 > pythonnet安装失败_安装时出错Python.net在Python3.7上

pythonnet安装失败_安装时出错Python.net在Python3.7上

时间:2022-06-11 17:41:31

相关推荐

pythonnet安装失败_安装时出错Python.net在Python3.7上

我正试图(pythonnet)在python3.7上运行设置.py它失败,并出现以下错误。我假设它和路径行中的一个缺失条目有关,但是我不能引用它。它基本上是在Windows7上简单地安装了Python3.7。pip安装也失败,结果相同。有人对可能丢失的路径或文件有什么建议吗?在PS C:\Users\user\pythonnet-master\pythonnet-master> python setup.py bdist_wheel

running bdist_wheel

running build

running build_ext

Checking for updates from /api/v2/.

Currently running NuGet.exe 4.6.2.

NuGet.exe is up to date.

MSBuild auto-detection: using msbuild version '15.5.180.51428' from 'C:\Program Files (x86)\Microsoft Visual Studio\

\Professional\MSBuild\15.0\bin'.

All packages listed in packages.config are already installed.

Traceback (most recent call last):

File "tools\geninterop\geninterop.py", line 292, in

sys.exit(main())

File "tools\geninterop\geninterop.py", line 272, in main

python_h = preprocess_python_headers()

File "tools\geninterop\geninterop.py", line 192, in preprocess_python_headers

for line in _check_output(cmd).splitlines():

File "tools\geninterop\geninterop.py", line 41, in _check_output

output = subprocess.check_output(*args, **kwargs)

File "C:\Users\i102604\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 376, in check_output

**kwargs).stdout

File "C:\Users\i102604\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 453, in run

with Popen(*popenargs, **kwargs) as process:

File "C:\Users\i102604\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 756, in __init__

restore_signals, start_new_session)

File "C:\Users\i102604\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 1155, in _execute_child

startupinfo)

FileNotFoundError: [WinError 2] The system cannot find the file specified

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。