栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > .Net

pythonnet安装失败

.Net 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

pythonnet安装失败

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

running bdist_wheel

running build

running build_ext

Checking for updates from https://www.nuget.org/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 Studio2017

ProfessionalMSBuild15.0bin'.

All packages listed in packages.config are already installed.

Traceback (most recent call last):

File "toolsgeninteropgeninterop.py", line 292, in

sys.exit(main())

File "toolsgeninteropgeninterop.py", line 272, in main

python_h = preprocess_python_headers()

File "toolsgeninteropgeninterop.py", line 192, in preprocess_python_headers

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

File "toolsgeninteropgeninterop.py", line 41, in _check_output

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

File "C:Usersi102604AppDataLocalProgramsPythonPython37libsubprocess.py", line 376, in check_output

**kwargs).stdout

File "C:Usersi102604AppDataLocalProgramsPythonPython37libsubprocess.py", line 453, in run

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

File "C:Usersi102604AppDataLocalProgramsPythonPython37libsubprocess.py", line 756, in __init__

restore_signals, start_new_session)

File "C:Usersi102604AppDataLocalProgramsPythonPython37libsubprocess.py", line 1155, in _execute_child

startupinfo)

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

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/906812.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号