删除 python2 Mac 因为它要求升级
removing python2 Mac as it is asking to upgrade
我尝试安装 dtale
、u8darts
等新软件包,但也升级了 statsmodels
等旧软件包,但没有成功,我收到以下消息:
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python
as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021.
More
details about Python 2 support in pip can be found at
https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove
support for this functionality.
ERROR: Could not find a version that satisfies the requirement u8darts (from versions: none)
ERROR: No matching distribution found for u8darts
我也尝试使用 pip3
安装相同的软件包,我有 python3 并且有效。唯一的问题是,我无法导入它们,尽管我只在我的 IDE 上使用 python3(Jupyter Notebook
和 VScode
)。我现在正尝试从我的系统中删除 python2,我正在努力尝试。
我已经合并了 Anconda,我需要做的就是使用下面的命令恢复到 bash:
chsh -s /bin/bash
然后重新安装 Anaconda 并选择家庭安装(确保您的 opt
文件夹不包含任何 anaconda 文件夹,您可以通过键入 space bar
和 /opt
on 来访问)
现在我可以安装我想要的所有软件包了。没问题。
我尝试安装 dtale
、u8darts
等新软件包,但也升级了 statsmodels
等旧软件包,但没有成功,我收到以下消息:
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python
as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021.
More
details about Python 2 support in pip can be found at
https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove
support for this functionality.
ERROR: Could not find a version that satisfies the requirement u8darts (from versions: none)
ERROR: No matching distribution found for u8darts
我也尝试使用 pip3
安装相同的软件包,我有 python3 并且有效。唯一的问题是,我无法导入它们,尽管我只在我的 IDE 上使用 python3(Jupyter Notebook
和 VScode
)。我现在正尝试从我的系统中删除 python2,我正在努力尝试。
我已经合并了 Anconda,我需要做的就是使用下面的命令恢复到 bash:
chsh -s /bin/bash
然后重新安装 Anaconda 并选择家庭安装(确保您的 opt
文件夹不包含任何 anaconda 文件夹,您可以通过键入 space bar
和 /opt
on 来访问)
现在我可以安装我想要的所有软件包了。没问题。