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-ngversion='\>=11.2.0' -> __glibcversion='\>=2.17'
- python=3.11 -> libuuidversion='\>=1.41.5,\<2.0a0'
- python=3.11 -> ncursesversion='\>=6.4,\<7.0a0'
- python=3.11 -> opensslversion='\>=3.0.15,\<4.0a0'
- python=3.11 -> sqliteversion='\>=3.45.3,\<4.0a0' -> zlibversion='\>=1.2.13,\<1.3.0a0,\>=1.2.13,\<2.0a0'
- python=3.11 -> tkversion='\>=8.6.14,\<8.7.0a0'
- python=3.11 -> xzversion='\>=5.4.6,\<6.0a0'
2.解决方案
尝试升级conda。命令conda update conda。然后再次新建。