小编Lis*_*iso的帖子

导入错误:无法在 python 上导入名称“sysconfig”

pip3 -V
Traceback (most recent call last):
  File "/usr/bin/pip3", line 9, in <module>
    from pip import main
  File "/usr/lib/python3/dist-packages/pip/__init__.py", line 14, in <module>
    from pip.utils import get_installed_distributions, get_prog
  File "/usr/lib/python3/dist-packages/pip/utils/__init__.py", line 23, in <module>
    from pip.locations import (
  File "/usr/lib/python3/dist-packages/pip/locations.py", line 9, in <module>
    from distutils import sysconfig
ImportError: cannot import name 'sysconfig'
Run Code Online (Sandbox Code Playgroud)

xubuntu 18.10

3
推荐指数
1
解决办法
7415
查看次数

如何一劳永逸地输入 ssh 密码

我已经为 ssh 设置了一个无密码设置,它使用公钥身份验证来连接所需的远程服务器,一切都运行良好。

我正在使用密码来解锁私钥,使用此解决方案- 问题是每次启动系统时它都会询问密码。

我发现这很麻烦,我只想一劳永逸地输入它所以下次我启动会话时我不必再次输入它,是否有像缓存密钥这样的东西可以保存我的密码并跨过会话(在重启后也能存活)?

是否有可能在保持我的 ssh 密码完整的同时实现所有这些?

ssh encryption password passphrase

3
推荐指数
3
解决办法
8392
查看次数

16.04 上缺少蓝牙小程序

我曾经搞砸了rfkill命令,导致我的蓝牙小程序消失。从系统设置重新启用似乎不起作用,它将保持消失。

这个问题类似于蓝牙指示器在关闭蓝牙时消失,但此解决方法似乎仅适用于 13.04 用户。

applet bluetooth 16.04

2
推荐指数
1
解决办法
7437
查看次数

ecryptfs-utils 在 18.04 上没有安装候选

我正在运行 Ubuntu 18.04.1 LTS,但在安装ecrypt-utils应用程序时遇到问题。请参阅下面的输出:

ubuntu@ubuntu:~$ sudo apt install  ecryptfs-utils
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package ecryptfs-utils is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'ecryptfs-utils' has no installation candidate
Run Code Online (Sandbox Code Playgroud)

任何帮助深表感谢。

ecryptfs 18.04

2
推荐指数
1
解决办法
5483
查看次数

无法从命令行发送邮件,sasl 身份验证错误

我按照此处的说明操作如何使用命令行发送电子邮件?,但它不起作用。当我测试向某人邮寄时,它返回:

(SASL authentication failed; server smtp.gmail.com[74.125.130.109] said: 535-5.7.8 Username and Password not accepted.
Run Code Online (Sandbox Code Playgroud)

我已经按照答案的建议解锁了验证码,但仍然无法正常工作。

email postfix

2
推荐指数
1
解决办法
3270
查看次数

我如何安装这个文件?

抱歉,伙计们,这里完全是菜鸟,如果它不在快照商店中,我就迷路了。

我从https://www.foundry.com/products/mari/download下载了 Mari

我如何安全地安装这个?

Distributor ID: Ubuntu
Description:    Ubuntu 20.04.3 LTS
Release:    20.04
Codename:   focal
Run Code Online (Sandbox Code Playgroud)

在此输入图像描述

software-installation

0
推荐指数
1
解决办法
124
查看次数

你如何安装软件中心?

我搜索并运行了以下命令。

sudo apt-get update; sudo apt-get --purge --reinstall install software-center software-properties-common software-properties-gtk
Run Code Online (Sandbox Code Playgroud)

但我仍然没有软件中心。我收到这个错误...

Reading package lists... Done
E: Failed to fetch "//mirrors.sonic.net/ubuntu/dists/zesty-updates/universe/source/Sources"  404  Not Found
E: Failed to fetch "//mirrors.sonic.net/ubuntu/dists/zesty-backports/main/source/Sources"  404  Not Found
E: Failed to fetch "//mirrors.sonic.net/ubuntu/dists/zesty-security/restricted/source/Sources"  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package software-center is not available, but is referred to by another package. …
Run Code Online (Sandbox Code Playgroud)

software-center update-manager package-management apt

-1
推荐指数
1
解决办法
4210
查看次数