相关疑难解决方法(0)

什么是"错误:选项 - 单个版本 - 外部管理无法识别"表示什么?

我似乎突然开始遇到变量包(包括和)error: option --single-version-externally-managed not recognized时的错误.我之前从未见过这个错误,但它现在也出现在travis-ci版本中,没有任何改变.pip installPyObjCastropy

此错误是否表示过期分发?或者一些错误指定的选项setup.py?或完全不同的东西?

python pip distribute

97
推荐指数
5
解决办法
6万
查看次数

Pip Pythonnet 选项 --single-version-externally-management 无法识别

尝试在 Windows WSL 上的 Ubuntu 18.04 Bionic 上安装 pythonnet 2.4.0,出现以下错误。

安装的Mono版本是5.20.1.34和Python 3.6

----------------------------------------
  Failed building wheel for pythonnet
  Running setup.py clean for pythonnet
Failed to build pythonnet
Installing collected packages: pythonnet
  Running setup.py install for pythonnet ... error
    Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-srixmeza/pythonnet/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-4wn8c3_a-record/install-record.txt --single-version-externally-managed --compile --user --prefix=:
    usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
       or: -c --help [cmd1 cmd2 ...]
       or: -c --help-commands
       or: -c cmd …
Run Code Online (Sandbox Code Playgroud)

python python.net

5
推荐指数
1
解决办法
4885
查看次数

标签 统计

python ×2

distribute ×1

pip ×1

python.net ×1