尽管setuptools和控制盘是最新的,但无法识别singleversionexternallymanaged

2024-09-26 20:35:39 发布

您现在位置:Python中文网/ 问答频道 /正文

当进入公文包开发模式(Beeware)时,我需要安装pythonnet,但它总是失败,并给出--single-version-externally-managed not recognized

An old question here建议使用--eggdistribute注意--egg现在已经贬值,并且distributesetuptools合并。。。所以安装了setuptoolswheel的最新版本,但仍然得到相同的错误

Running setup.py install for pythonnet ... error
ERROR: Command errored out with exit status 1:
...
Complete output (6 lines):
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: option --single-version-externally-managed not recognized

在Windows 10和pip 20.1.1上运行的Setuptools、wheel和python完全是最新的

希望有人能帮忙!!:-)


Tags: orpyeggversionsetupnothelpmanaged

热门问题