前言
依赖包版本管理,是任何一门编程语言都不容忽视的问题。
解决python包依赖问题的最佳实践是使用anaconda。
一、安装
官网下载对应操作系统anaconda个人版本安装包,网址: https://www.anaconda.com/products/individual
然后一步一步安装即可。
二、常用命令
- 基本使用
conda command ...
# 其中 ...是可选参数
# command可以是:
# clean Remove unused packages and caches.
# compare Compare packages between conda environments.
# config Modify configuration values in .condarc. This is modeled after the git config command. Writes to the user .condar