conda create -n py python=3.3

指定要安装在环境中的 Python 版本

conda create -n data python=3.5 numpy pandas

 

查看安装的包

conda list

 

进入环境

activate my_env # 环境名


安装所有这些包

conda install numpy scipy pandas

 

启动 notebook 服务器

jupyter notebook
http://localhost:8888  #进入环境

 

关闭虚拟环境

deactivate

 

删除环境

conda remove -n flowers --all #flowers是环境名

 

使用过程中遇到的错误:

WARNING conda.lock:touch(53): Failed to create lock, do not run conda in parallel processes [errno 13]

解决方法:

以管理员身份运行cmd,可见(https://stackoverflow.com/questions/41605539/permissionerror-winerror-5-access-is-denied-c-program-files-anaconda3-p)

 

相关文章:

  • 2022-12-23
  • 2021-08-07
  • 2022-01-17
  • 2022-01-19
  • 2022-12-23
  • 2021-08-07
  • 2021-08-21
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-07-14
  • 2021-09-27
  • 2022-02-09
  • 2021-11-11
相关资源
相似解决方案