3D Gaussian Splatting for Real-Time Radiance Field Rendering(服务器创建环境出现的问题,已解决)))
conda env create --file environment.yml
/root/miniconda/lib/python3.8/argparse.py:1874: FutureWarning: ?>
remote_definition
is deprecated and will be removed
in 25.9. Useconda env create --file=URL
instead. action(self,
namespace, argument_values, option_string) Channels:
- pytorch
- conda-forge
- defaults
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
- https://mirrors.aliyun.com/anaconda/pkgs/main
- https://mirrors.aliyun.com/anaconda/pkgs/free Platform: linux-64 Collecting package metadata (repodata.json): failed
UnavailableInvalidChannel: HTTP 404 NOT FOUND for channel
anaconda/pkgs/main https://mirrors.aliyun.com/anaconda/pkgs/mainThe channel is not accessible or is invalid.
You will need to adjust your conda configuration to proceed. Use
conda config --show channels
to view your configuration’s current
state, and useconda config --show-sources
to view config file
locations.
移除不可用的阿里云镜像源
conda config --remove channels https://mirrors.aliyun.com/anaconda/pkgs/main
conda config --remove channels https://mirrors.aliyun.com/anaconda/pkgs/free
CondaKeyError: ‘channels’: value
‘https://mirrors.aliyun.com/anaconda/pkgs/free’ not present in config
conda config --remove-key channels#把 conda 配置恢复到默认状态
conda config --show channels#查看当前 conda 配置里的所有镜像源
/root/miniconda/lib/python3.8/site-packages/conda/base/context.py:198:
FutureWarning: Adding ‘defaults’ to channel list implicitly is
deprecated and will be removed in 25.3.To remove this warning, please choose a default channel explicitly
with conda’s regular configuration system, e.g. by adding ‘defaults’
to the list of channels:conda config --add channels defaults
For more information see
https://docs.conda.io/projects/conda/en/stable/user-guide/configuration/use-condarc.htmldeprecated.topic( channels:
- defaults
conda config --add channels defaults#默认的 conda 软件源通道添加到 conda 配置里,conda 会从这通道里查找并下载需要的软件包。
conda config --remove-key channels#把 conda 配置恢复到默认状态
conda config --show channels #查看当前 conda 配置里的所有镜像源
/root/miniconda/lib/python3.8/site-packages/conda/base/context.py:198:
FutureWarning: Adding ‘defaults’ to channel list implicitly is
deprecated and will be removed in 25.3.To remove this warning, please choose a default channel explicitly
with conda’s regular configuration system, e.g. by adding ‘defaults’
to the list of channels:conda config --add channels defaults
For more information see
https://docs.conda.io/projects/conda/en/stable/user-guide/configuration/use-condarc.htmldeprecated.topic( channels:
- defaults
调整仓库的优先级,确保不会因为严格的优先级设置而排除必要的包
conda config --set channel_priority flexible