【发布时间】:2020-04-15 14:49:00
【问题描述】:
我有一个内部的 nexus 服务器,用于存储我的 python 包。
当我尝试运行时
pip install --index-url=https://my_pip_user:my_pip_pass@my_pip_url ...
在构建 docker 映像时,我得到了
my_pip_user is not a valid value for user option, please specify a boolean value like yes/no, true/false or 1/0 instead.
如果 cmd 仅在 bash 中运行,则不会引发错误。
我尝试将index-url 放入~/.pip/pip.conf,但它并没有改变任何东西。
【问题讨论】: