Anaconda conda安装和使用
2020-10-05 python 1774
1. Anaconda https://www.anaconda.com/products/individual/get-started 2. #conda -V # conda list # conda env list / conda info -e # conda conda update conda 3. # pythonandaconda pythonX.X your_env_nameyour_env_name Anacondaenvsconda create -n your_env_name python=X.X # python 3.7.2 conda create -n test python=3.7.2 # conda create -n test numpy matplotlib python=3.7.2 4.pythonpython --version() pythonLinux: source activate your_env_name() Windowsactivate your_env_name() 5.conda install -n your_env_name [package] 6.deactivate env_name 7.conda remove -n your_env_name() --all,#conda remove --name your_env_name [package] 8.packagescondaAnaconda.orgTUNAAnacondaconda# AnacondaTUNAconda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ # TUNAhelp# conda config --set show_channel_urls yes
# 创建虚拟环境 conda activate keras-env # 安装 keras conda install -c conda-forge keras # 安装模块 conda install certifi conda install pyppeteer # 使用虚拟环境 conda activate keras-env python baidu_pyppeteer.py cd J:\python\RotateCode # 删除虚拟环境 conda remove --name keras-env
很赞哦! (0)
相关文章
文章评论
-
-
-
0条评论