[Ubuntu]:ubuntu/pip/conda/docker替换国内源

该博客整理了如何在Ubuntu 16.04和18.04系统中,替换pip、conda及docker的国内源,以提高软件安装和更新的速度。详细步骤包括使用清华大学开源软件镜像站进行源替换。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

其实直接看清华大学开源软件镜像站就行了,这里做一个小小的整理

ubuntu16.04

$ vim /etc/apt/sources.list


# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-backports 
Installation The code has been tested with Docker (see Docker container below) with Python 3.8, CUDA 10.2/11.1, pytorch 1.8.0 and pytorch-lighting 1.4.1. Any other version may require to update the code for compatibility. Pip/Venv/Conda In your virtual environment follow MinkowskiEnginge. This will install all the base packages. Additionally, you need to install: open3d 0.13.0 pytorch-lighting 1.4.1 wandb tqdm pickle 这是readme里的内容,hi有,没有requirments。,再给一遍https://github.com/saltoricristiano/cosmix-uda/tree/main/configs/adaptation/uda 我现在要通过wsl在pycharm上运行这个项目,给我步骤 这个项目用Ubuntu24.04可行吗 还有,你上面给我的步骤我运行以后还是一样的报错(cosmix) livvy0102@tong:~/anaconda3/bin$ sudo apt update Get:1 file:/var/cuda-repo-ubuntu2004-11-1-local InRelease Ign:1 file:/var/cuda-repo-ubuntu2004-11-1-local InRelease Get:2 file:/var/cuda-repo-ubuntu2404-12-6-local InRelease [1572 B] Get:2 file:/var/cuda-repo-ubuntu2404-12-6-local InRelease [1572 B] Get:3 file:/var/cuda-repo-ubuntu2004-11-1-local Release [564 B] Get:3 file:/var/cuda-repo-ubuntu2004-11-1-local Release [564 B] Get:4 file:/var/cuda-repo-ubuntu2004-11-1-local Release.gpg [836 B] Get:4 file:/var/cuda-repo-ubuntu2004-11-1-local Release.gpg [836 B] Ign:4 file:/var/cuda-repo-ubuntu2004-11-1-local Release.gpg Hit:5 http://security.ubuntu.com/ubuntu noble-security InRelease Hit:6 http://archive.ubuntu.com/ubuntu noble InRelease Hit:7 http://archive.ubuntu.com/ubuntu noble-updates InRelease 0% [Waiting for headers] Hit:8 http://archive.ubuntu.com/ubuntu noble-backports InRelease Reading package lists... Done W: GPG error: file:/var/cuda-repo-ubuntu2004-11-1-local Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F60F4B3D7FA2AF80 E: The repository 'file:/var/cuda-repo-ubuntu2004-11-1-local Release' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. (cosmix) livvy0102@tong:~/anaconda3/bin$
03-21
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值