随笔分类 -  Conda

摘要:导出当前环境 conda env export > environment.yml Notepad++ 查看文件内容 name: py3 channels: - r - defaults dependencies: - openssl=1.0.2l=0 - pip=9.0.1=py36_1 - py 阅读全文
posted @ 2021-06-21 09:27 林東雨 阅读(3680) 评论(0) 推荐(1)
摘要:Anaconda or Miniconda ? Choose Anaconda if you: Are new to conda or Python. Like the convenience of having Python and over 1,500 scientific packages a 阅读全文
posted @ 2021-06-03 00:57 林東雨 阅读(999) 评论(0) 推荐(0)
摘要:1,运行 Anaconda Prompt 2,添加国内镜像源 conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/free/ conda config --add channels https://mirrors 阅读全文
posted @ 2021-06-02 21:06 林東雨 阅读(1152) 评论(0) 推荐(1)
摘要:1,打开 Anaconda Prompt 2,执行 conda update conda // 更新 conda 至最新版 3,执行 conda update anaconda // 更新 anaconda 至最新版 4,至此,base 环境升级至最新版 5,打开某个环境的 Anaconda Pro 阅读全文
posted @ 2021-06-02 17:16 林東雨 阅读(2490) 评论(0) 推荐(0)
摘要:查看conda指令:conda --help 检查conda版本:conda --version 升级conda版本:conda update conda 查看conda环境列表:conda info -e 查看当前环境已安装的包:conda list 创建环境 conda create -n xx 阅读全文
posted @ 2020-10-04 03:41 林東雨 阅读(895) 评论(0) 推荐(0)
摘要:1,切换到目标 xxx.py 所在文件夹路径:cd /d xxx 2,运行脚本:python xxx.py 阅读全文
posted @ 2020-10-04 00:31 林東雨 阅读(5966) 评论(0) 推荐(0)
摘要:C/用户/用户名/.condarc(右键选择记事本打开) 更新一下源地址 1 channels: 2 - defaults 3 show_channel_urls: true 4 channel_alias: https://mirrors.tuna.tsinghua.edu.cn/anaconda 阅读全文
posted @ 2020-10-03 23:54 林東雨 阅读(1955) 评论(0) 推荐(0)