1.报错
conda create -n py3.11 python=3.11 --channel https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
Collecting package metadata: done
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
- python=3.11 -> libgcc-ng[version=‘>=11.2.0’] -> __glibc[version=‘>=2.17’]
- python=3.11 -> libuuid[version=‘>=1.41.5,<2.0a0’]
- python=3.11 -> ncurses[version=‘>=6.4,<7.0a0’]
- python=3.11 -> openssl[version=‘>=3.0.15,<4.0a0’]
- python=3.11 -> sqlite[version=‘>=3.45.3,<4.0a0’] -> zlib[version=‘>=1.2.13,<1.3.0a0,>=1.2.13,<2.0a0’]
- python=3.11 -> tk[version=‘>=8.6.14,<8.7.0a0’]
- python=3.11 -> xz[version=‘>=5.4.6,<6.0a0’]
2.解决方案
尝试升级conda。命令conda update conda
。然后再次新建。