同时在anaconda安装py2和py3环境

简介: 前提说明:自己很久前下的anaconda环境为py2,可以先在cmd输入conda.exe检查anacond是否安装成功(前提是有把anaconda、scrpts、Library/bin加入环境变量)在anaconda上同时安装py2和py3环境:在这里插入图片描述

前提说明:自己很久前下的anaconda环境为py2,可以先在cmd输入conda.exe检查anacond是否安装成功(前提是有把anaconda、scrpts、Library/bin加入环境变量)

在anaconda上同时安装py2和py3环境:

image.png

安装完毕的图为下:


image.png

然后用conda为py3安装spyder编译器:conda install -n py3 spyder


想要切换到python2版本,需要在cmd里面输入activate py2,来激活python2


相关文章
|
9月前
|
安全 开发者 C++
Windows10安装modelscope后import这个模块报错:OSError: [WinError 1] 函数不正确。: 'D:\Anaconda\envs\MDS\lib\site-packages\modelscope\utils\ast_utils.py'
Windows10安装modelscope后import这个模块报错:OSError: [WinError 1] 函数不正确。: 'D:\Anaconda\envs\MDS\lib\site-packages\modelscope\utils\ast_utils.py'
293 1
|
Python
|
Unix Linux 程序员
Py之curses:curses库的简介、使用、安装方法详细攻略
Py之curses:curses库的简介、使用、安装方法详细攻略
Py之curses:curses库的简介、使用、安装方法详细攻略
|
5月前
|
安全 数据挖掘 Python
Python的打包工具(setup.py)实战篇
关于如何使用Python的setup.py工具打包Python项目的实战教程。
142 0
Python的打包工具(setup.py)实战篇
|
6月前
|
Python
[python]使用gunicorn部署fastapi服务
[python]使用gunicorn部署fastapi服务
229 1
|
Python
python2 pip2 pip install web.py No module named wsgiserver
python2 pip2 pip install web.py No module named wsgiserver
71 0
|
关系型数据库 MySQL 数据库
Python--py配置文件
Python--py配置文件
88 0
|
Python Windows
Anaconda详细安装及安装Scrapy框架
Anaconda详细安装及安装Scrapy框架
381 0
Script file ‘D:\Anaconda3\Scripts\pip-script.py‘ is not present.-anaconda如何安装pip-pip的安装-
Script file ‘D:\Anaconda3\Scripts\pip-script.py‘ is not present.-anaconda如何安装pip-pip的安装-
Script file ‘D:\Anaconda3\Scripts\pip-script.py‘ is not present.-anaconda如何安装pip-pip的安装-
python-yaml文件使用(PyYAML)
python-yaml文件使用(PyYAML)
145 0