更新conda报错 CondaValueError: Malformed version string ‘~’: invalid character(s).
conda -V
或 conda --version
查看conda版本conda update conda
更新conda
更新conda时报错: CondaValueError: Malformed version string '~': invalid character(s).
解决方案:换源
conda upgrade -n base -c defaults --override-channels conda
conda更新成功 (但是为什么这样就能更新?)
reference:
installation - CondaValueError: Malformed version string ‘~’: invalid character(s) - Stack Overflow