[problem help] 求助:apt遇到报错“没有源可以用来下载 11.1.0 版本的 lsb-base”
Tofloor
poster avatar
xia
deepin
2024-05-10 09:20
Author

系统版本:Linux 6.1.32-amd64-desktop-hwe #23.01.00.20 SMP PREEMPT_DYNAMIC Mon Sep 11 14:16:03 CST 2023 x86_64 GNU/Linux

sudo apt-get download sudoapt−getdownload​(apt-cache depends --recurse --no-recommends --no-suggests --no-conflicts --no-breaks --no-replaces --no-enhances tk-dev  | grep "^\w" | sort -u)

E: 没有源可以用来下载 11.1.0 版本的 lsb-base:amd64

我就是想下载python标准库里面的tk包及依赖,准备拷贝到一台不能上网的机器上安装,求各路大神指点。

Reply Favorite View the author
All Replies
babyfengfjx
Super Moderator
CQA
2024-05-10 09:31
#1

pip直接装不了么?

Reply View the author
xia
deepin
2024-05-10 09:39
#2
babyfengfjx

pip直接装不了么?

不能上网的那台机器是麒麟的,自带的python不仅没有tk,连pip都没有

而且tkinter是不能pip的

Reply View the author
deepin
2024-05-10 10:31
#3

用Python的venv模块创建虚拟环境,成功了就有pip了。记得先source一下activate

Reply View the author
chmod700
deepin
2024-05-10 11:05
#4
The user is banned, and the content is hidden.
chmod700
deepin
2024-05-10 11:09
#5
The user is banned, and the content is hidden.