setup.cfg:命令“ develop”没有这样的选项“ index”

时间:2018-09-19 17:27:42

标签: python python-3.6 setup.py

我正在尝试建立一个新项目,由于某种原因,我在运行时遇到以下错误:

pip install -e .

Running setup.py develop for projectname
Complete output from command /home/user/envs/ProjectName/bin/python3.6 -c "import setuptools, tokenize;__file__='/home/user/dev/ProjectName/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" develop --no-deps:
    running develop
    error: error in setup.cfg: command 'develop' has no such option 'index'

我的setup.py是非常标准的,我能够运行测试,构建轮子并将轮子安装在其他环境中。但是我还是想了解为什么develop命令不起作用?

0 个答案:

没有答案
相关问题