我试图在Windows上的Python2.7虚拟环境中安装我自己的Python2.7软件包,但是
Installed c:\users\niklas\repos\ppy\engine
Error: no such option: --no-deps
----------------------------------------
Command "c:\users\niklas\repos\ppy\engine\.env2\scripts\python.exe -c "import setuptools, tokenize;__file__='C:\\Users\\niklas\\repos\\ppy\\engine\\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" failed with error code 2 in C:\Users\niklas\repos\ppy\engine\
当我进行正常安装时不会发生这种情况(没有-e
标志)。我一直在检查Pip和setuptools的发行说明,但是它没有提到删除--no-deps
选项。在
在调用setup()
来打印sys.argv
之前,我还在我的setup.py
中添加了一个print,这给了我
所以一定是{
Edit:事实证明,正常的安装也无法正常工作,但无法识别的是--record
标志。在
Installing node.py-script.py script to c:\users\niklas\repos\ppy\engine\.env2\Scripts
Installing node.py.exe script to c:\users\niklas\repos\ppy\engine\.env2\Scripts
Installing node.py.exe.manifest script to c:\users\niklas\repos\ppy\engine\.env2\Scripts
writing list of installed files to 'c:\users\niklas\appdata\local\temp\pip-okk7gy-record\install-record.txt'
Error: no such option: --record
目前没有回答
相关问题 更多 >
编程相关推荐