无法在Ubuntu 16.04上安装pythonnet

时间:2020-04-03 10:21:11

标签: python python.net

我正在尝试在ubuntu上安装pythonnet,但没有成功。 我尝试了一些方法,例如:

  1. pip安装pythonnet

2.pip安装git + https://github.com/pythonnet/pythonnet

还有其他方法吗?

ERROR: Command errored out with exit status 1:
 command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ECL8qX/pythonnet/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ECL8qX/pythonnet/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-ECL8qX/pythonnet/pip-egg-info
     cwd: /tmp/pip-install-ECL8qX/pythonnet/
Complete output (5 lines):
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-install-ECL8qX/pythonnet/setup.py", line 18, in <module>
    from wheel import bdist_wheel
ImportError: No module named wheel
----------------------------------------

错误:命令错误,退出状态为1:python setup.py egg_info检查日志以获取完整的命令输出。

0 个答案:

没有答案