1. 创建新的虚拟环境的报错
conda create -n opengl python=3.9报如下错误
Downloading and Extracting Packages: CondaHTTPError: HTTP 403 FORBIDDEN for url <https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/openssl-3.0.> Elapsed: 00:00.185461 An HTTP error occurred when trying to retrieve this URL. HTTP errors are often intermittent, and a simple retry will get you on your way. CondaHTTPError: HTTP 403 FORBIDDEN for url <https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/openssl-3.0.> Elapsed: 00:00.185461 An HTTP error occurred when trying to retrieve this URL. HTTP errors are often intermittent, and a simple retry will get you on your way. CondaHTTPError: HTTP 403 FORBIDDEN for url <https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/setuptools-8> Elapsed: 00:00.192208 An HTTP error occurred when trying to retrieve this URL. HTTP errors are often intermittent, and a simple retry will get you on your way. CondaHTTPError: HTTP 403 FORBIDDEN for url <https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/noarch/pip-25.3-pyh> Elapsed: 00:00.192726 An HTTP error occurred when trying to retrieve this URL. HTTP errors are often intermittent, and a simple retry will get you on your way.2. 解决办法
将home目录下的文件 `~/.condarc` 删除,然后再创建虚拟环境,就成功了。
win平台在用户目录下的 `.condarc` 文件