1、创建指定python版本的虚拟环境 conda create -n my_spider python=3.11.9 #切换虚拟环境 conda activate my_spider 2、查看虚拟环境 # 方法1 conda env list #方法2 conda info -e 3