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

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章