conda常用命令
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| conda -V #查看conda版本 conda update conda #更新至最新的版本,也会更新相关包
#查看环境管理的全部命令 conda env -h
#显示所有已创建的环境 conda info -e conda env list
#切换至某个环境中 activate env_name
#新建环境 conda create --name your_env_name python=3.5
|
pip常用命令
1 2 3
| python -m pip install --upgrade pip pip install packageName pip uninstall packageName
|
Jupyter Notebook/Lab
启动
1 2 3 4 5 6 7 8 9
| #通过批处理脚本来启动jupyter lab rem -- start_jupyter_notebook.bat ---
cd D:\PythonProgram\SentimentAnalysis
d:
call activate sentimentAnalysis call jupyter lab
|
基本操作
- 关联Jupyter Notebook和conda的环境和包——“nb_conda”
常用扩展
1
| conda install -c conda-forge jupyter_contrib_nbextensions
|
-------------本文结束感谢您的阅读-------------
作者将会持续总结、分享,如果愿意支持作者,作者将会十分感激!!!
微信支付
支付宝