运行以下命令:
ThinkPad-T520:~/CellProfiler$ sudo pip install --editable .
出现错误:
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-9PNXKh/javabridge/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-record-InWq1p/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-9PNXKh/javabridge/
python --version
Python 2.7.14
pip --version
pip 18.0 from /usr/local/lib/python2.7/dist-packages/pip (python 2.7)
发布于 2018-08-10 11:23:14
https:/github.com/Pypa/pip/ems/562
在链接中,提到了一些开发人员用src替换-目标-src来覆盖他们的用例
https://stackoverflow.com/questions/-100002058
复制相似问题