gpt4 book ai didi

python - 更新 pip 不起作用

转载 作者:太空狗 更新时间:2023-10-29 21:08:42 24 4
gpt4 key购买 nike

我陷入了困境。 Conda 一直告诉我升级 pip,但是,当我运行 conda update pip 命令时,它说 pip 已完全更新。我的确切终端输出如下:

Anton-MacBook-Pro:~ anton$ conda update pip -p /Users/anton/anaconda/envs/py3k

# All packages already at latest version, nothing to do.
# packages in environment at /Users/anton/anaconda/envs/py3k:
#
# Warning: Your version of pip is older than what conda requires for pip
# integration, so pip-installed packages will not be displayed. Please
# update pip, (conda update pip -p /Users/anton/anaconda/envs/py3k)

pip 1.4.1 py33_1

Anton-MacBook-Pro:~ anton$

我对终端输出的解释是:

  1. 我告诉 conda 更新 pip。
  2. Conda 告诉我 pip 是最新的,然后,
  3. Conda 警告我 pip 不是最新的,我应该运行我刚刚在第 1 步中运行的代码。

最佳答案

正如 Jacob Budin 指出的那样,这是一个 conda 错误。尝试运行

conda update distribute

看看这是否能解决问题。无论哪种方式,您都无需担心。

关于python - 更新 pip 不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20862007/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com