
# 使用Notebook创建Conda环境报错"CondaHTTPError: HTTP 404 NOT FOUND for url..."如何解决？
#### 问题现象
在使用Notebook创建Conda环境并指定Python版本时，系统报错HTTP 404 NOT FOUND，提示依赖的包libuuid和readline在Conda源中没有找到。具体错误信息如下：
```
CondaHTTPError: HTTP 404 NOT FOUND for url <https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/linux-aarch64/libuuid-1.41.5-h998d150_0.tar.bz2>
Elapsed: 00:00.099365
 
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 404 NOT FOUND for url <https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/linux-aarch64/readline-8.2-h998d150_0.tar.bz2>
Elapsed: 00:00.085696
```
图1报错示例   
![](https://support.huaweicloud.com/trouble-modelarts/figure/zh-cn_image_0000002522849866.png "点击放大")
#### 问题原因
镜像源缺少依赖包。
#### 解决方案
通过添加额外的Conda频道，可以解决依赖包缺失的问题。
1. 执行以下命令，添加pkgs/free频道。
   ```
   conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
   ```
   
2. 执行以下命令，添加conda-forge频道。
   ```
   conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
   ```
   
3. 添加频道后，重新运行创建Conda环境的命令，按需指定Python版本。
   ```
   conda create -n myenv python=3.x
   ```
   
 
