python数据分析-Anaconda使用
1.环境(Anacnoda)
1.Anaconda 的使用
-
1.包管理
-
python --version
- 查看python的版本信息
-
conda list
- 查看安装的包
-
conda install xxx
- 包的安装(pip install xxx)
-
conda remove xxx
- 卸载包(pip uninstall xxx)
-
-
2.环境管理
-
conda create --name xxx python2
- 创建了python版本为2的环境
-
conda create --name xxx python3
- 创建了python版本为3的环境
-
conda create --name xxx python3 anaconda
- 创建了python版本为3的环境,并具有anaconda的所有包
-
conda env list
-
conda info --envs
-
activate xxx
- **环境
-
conda deactivate
- 退出环境
-
conda remove --name xxx --all
- 删除一个已有的环境
-
3.Jupyter Notebook(注意工作空间切换)
在当前路径栏输入jupyter notebook,就在当前目录启动(骚操作)