如何强制安装和使用pip18(用--user安装)而不是pip8?


0

我正在使用我的帐户在一台安装了pip 8.1.2的超级计算机上工作 /usr/lib/python2.7/site-packages

我有权构建和安装Python模块 $HOME 从源代码,但其中一些需要更高版本的点。

所以我尝试了 python get-pip.py --user 并成功安装了pip 18.1

但是,每当我调用pip时,仍会执行pip 8版本。

这有什么解决方案吗?

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.