linux mint 无法联网_Linux Mint的network界面启动不了

最近安装了一些python库,安装之后发现系统的network界面一直启动不了。

network是可以用的,只是改不了配置。那来看看启动界面时报了什么错

进入目录, 这里存放的文件是,系统菜单启动软件的配置

cd /usr/share/applications/

ls | grep network

输出结果,network的启动配置

cinnamon-network-panel.desktop

cat一下,看看配置

$ cat cinnamon-network-panel.desktop

[Desktop Entry]

Exec=cinnamon-settings network

Icon=cs-network

Terminal=false

Type=Application

StartupNotify=true

Categories=GTK;Settings;HardwareSettings;X-Cinnamon-Settings-Panel;

OnlyShowIn=X-Cinnamon;

X-Cinnamon-Settings-Panel=network

# Translators: those are keywords for the network control-center panel

Keywords=Network;Wireless;IP;LAN;Proxy;Internet;WiFi;

Name=Network

Comment=Network settings

X-Ubuntu-Gettext-Domain=cinnamon-control-center

上述的输出结果中,Exec是network界面启动命令。手动执行一下

$ cinnamon-settings network

/usr/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37: undefined symbol: _ZThn16_N9Inspector21InspectorRuntimeAgent10saveResultERN3WTF6StringERKNS1_8JSONImpl6ObjectEPKiRNS1_8OptionalIiEE

Failed to load module: /usr/lib/x86_64-linux-gnu/cinnamon-control-center-1/panels/libonline-accounts.so

Traceback (most recent call last):

File "/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py", line 619, in

window = MainWindow()

File "/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py", line 247, in __init__

for module in modules:

File "/usr/share/cinnamon/cinnamon-settings/modules/cs_backgrounds.py", line 5, in

import imtools

File "/usr/share/cinnamon/cinnamon-settings/bin/imtools.py", line 623, in

if Image.VERSION == '1.1.7':

AttributeError: module 'PIL.Image' has no attribute 'VERSION'

嗯嗯,似乎找到问题了。

python库pillow的问题,重新安装一下就正常了

$ sudo pip install pillow

network.png

我之前安装了pillow包,可能是安装出错了,就出了这样的问题。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值