Anaconda3 安装和常用命令

Anaconda3-2019.10-Windows-x86_64.exe

https://mirrors.bfsu.edu.cn/anaconda/archive/


C:\Anaconda3>python
Python 3.7.4 (default, Aug 9 2019, 18:34:13) [MSC v.1915 64 bit (AMD64)] :: Anaconda, Inc. on win32

Warning:
This Python interpreter is in a conda environment, but the environment has
not been activated. Libraries may fail to load. To activate this environment
please see https://conda.io/activation

创建 3.8
conda create -n python38 python=3.8或者
conda create --name python38 python=3.8

进入 3.8 环境

conda activate python38

安装一些常用的机器学习的库

pip install torch -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
pip install torchvision -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
pip install opencv-python -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
pip install timm -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
pip install matplotlib -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
pip install captcha -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
pip install pillow -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
pip install image -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
pip install numpy -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
pip install sklearn -i http://pypi.douban.com/simple --trusted-host pypi.douban.com

 

posted @ 2023-01-28 10:34  宁次  阅读(145)  评论(0编辑  收藏  举报