anaconda-vscode-pycharm

Catalogue
  1. 1. 参考资料

3 anaconda 配置

anaconda 安装的时候没有选择添加到环境变量,所以windows自带的cmd无法运行python命令,需要添加如下的3个变量,如果第三个没有添加,pip的时候会报ssl 模块无法找到的如下错误。

1
2
3
4
5
pip运行报错
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting virtualenv
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/virtualenv/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/virtualenv/

参考资料