windows7关于Anaconda安装问题
1:failed to create menu
不可以下载最新版Anaconda:Python 3.9+不能在 Windows 7 或更早版本上使用
Python 3.5 (Windows64位:Anaconda3-4.2.0-Windows-x86_64.exe)
Python 3.6 (Windows64位:Anaconda3-5.2.0-Windows-x86_64.exe)
2:please make sure you are connected to the intenet
1).在Anaconda下载目录找到这个文件anaconda3/pkgs/vscode_inst.py
2):将143行注释掉(下划线处)
try: r = requests.head(VSCODE_ENDPOINT, timeout=5) # assert r.status_code == 200 return True except Exception as e: log.exception('haveInternet') return False
3:unable to download VScode
1)在Anaconda下载目录找到这个文件anaconda3/pkgs/vscode_inst.py
2)在142行添加allow_redirects=True
try: r = requests.head(VSCODE_ENDPOINT, timeout=5, allow_redirects=True) # assert r.status_code == 200 return True except Exception as e: log.exception('haveInternet') return False
3)
第110行原为:
VSCODE_ENDPOINT = 'https://vscode-update.azurewebsites.net/api/update/{}/stable/version'.format(VSCODE_SUBDIR) # NOQA
修改为:
VSCODE_ENDPOINT = 'https://update.code.visualstudio.com/api/update/{}/stable/version'.format(VSCODE_SUBDIR) # NOQA
浙公网安备 33010602011771号