执行tox -egenconfig出现错误genconfig: could not install deps [-r/home/mistral/test-requirements.txt]

来源:互联网 发布:知乎评价奚梦瑶 编辑:程序博客网 时间:2024/05/18 12:37
通过tox -e genconfig 为Mistral生成配置文件时出现 下面的错误:

[root@vitrage mistral(keystone_admin)]# tox -egenconfig
genconfig create: /home/mistral/.tox/genconfig
genconfig installdeps: -r/home/mistral/test-requirements.txt
ERROR: could not install deps [-r/home/mistral/test-requirements.txt]
_____________________________________________________________________________________ summary ______________________________________________________________________________________
ERROR: genconfig: could not install deps [-r/home/mistral/test-requirements.txt]

解决办法:
rm -rf .tox  # remove everything tox ever did here
sudo pip install --upgrade pip tox virtualenv  # upgrade your tooling (maybe use 'sudo -H ')
tox -e genconfig  # try to build the conf file again
阅读全文
0 0
原创粉丝点击