Conda:点升级损坏的点,如何在环境中恢复点

时间:2018-08-05 18:49:03

标签: python pip conda

我使用以下方法升级了点子:

> pip install --upgrade pip

Collecting pip
  Using cached https://files.pythonhosted.org/packages/5f/25/e52d3f31441505a5f3af41213346e5b6c221c9e086a166f3703d2ddaf940/pip-18.0-py2.py3-none-any.whl
Installing collected packages: pip
  Found existing installation: pip 10.0.1
    Uninstalling pip-10.0.1:
Could not install packages due to an EnvironmentError: [Errno 39] Directory not empty: 'commands'

现在它正在使用来自/usr

的系统点

如何在conda环境中恢复点值?(也许无需重新安装环境)

我在激活环境后尝试过

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py

但这只是给出了相同的错误

0 个答案:

没有答案