那就把现在anaconda的python版本升级一下,参考这篇 https://www.delftstack.com/zh/howto/python/change-python-version-in-anaconda/ 应该是有多种方法可以通过anaconda升级python,文章里面介绍的有4种,这里使用第1种 condainstallpython=3.9 安装完成,看看python版本 (d2l) [root@iZm5e211s4jw7g4w6pgezgZ ~]#...
Original file line numberDiff line numberDiff line change @@ -1,6 +1,6 @@ +++ title = '使用Miniconda管理Python环境' date = 2024-10-21T02:17:40.125506+08:00 date = 2024-10-27T21:06:25.038977+08:00 draft = false +++ @@ -90,19 +90,22 @@ conda env create -f environment.yml...
no change /opt/miniconda3/etc/profile.d/conda.sh no change /opt/miniconda3/etc/fish/conf.d/conda.fish no change /opt/miniconda3/shell/condabin/Conda.psm1 no change /opt/miniconda3/shell/condabin/conda-hook.ps1 no change /opt/miniconda3/lib/python3.11/site-packages/xontrib/conda.xsh no...
Python 环境管理的价值在于将同一个 Python 版本的不同需求分开,比如:项目 A 和 项目 B 都需要 Python 3.10.11 这个版本,都用到了 requests 包,但是项目 A 需要 requests 2.1,而项目 B 需要 requests 2.2。 通常情况下,同一个 Python 版本是不可能既安装 requests 2.1 又安装requests 2.2的,如果没有 Python...
no change /home/lisi/miniconda3/shell/condabin/conda-hook.ps1 no change /home/lisi/miniconda3/lib/python3.10/site-packages/xontrib/conda.xsh no change /home/lisi/miniconda3/etc/profile.d/conda.csh modified /home/lisi/.bashrc ==> For changes to take effect, close and re-open your current...
conda --version# 禁止激活默认base环境 conda config --set auto_activate_base false 完整步骤 查看详情 [root@slave1 ~]# wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh --2024-01-12 03:28:26-- https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64...
no change /root/miniconda3/shell/condabin/conda-hook.ps1 no change /root/miniconda3/lib/python3.11/site-packages/xontrib/conda.xsh no change /root/miniconda3/etc/profile.d/conda.csh modified /root/.bashrc ==> For changes to take effect, close and re-open your current shell. <== ...
Original file line numberDiff line numberDiff line change @@ -12,14 +12,14 @@ export const ensureExplicit: types.IEnvProvider = { condaArgs: async (inputs, options) => { if (inputs.pythonVersion) { throw Error( `'python-version: ${inputs.pythonVersion}' is incompatible with an expli...
At any time, you always have the option to switch between the Docker container's default Python version and that of Miniconda. This gives you more flexibility as you can always rebuild a new image with the change whenever you want.
Installing Python Anaconda A minimum of 3GB disk space is required to download and install Anacondo and all its packages. So, first download the Anaconda installer. Depending upon preferred python version, you can download the anaconda installer. Here python 3.6 for 64-bit architecture is downloade...