gpt4 book ai didi

ubuntu - 无法开始工作,没有模块名称 "Click"

转载 作者:太空宇宙 更新时间:2023-11-03 16:58:49 25 4
gpt4 key购买 nike

在我最后一次 apt-get 升级之后,我注意到 TensorFlow 停止工作了。我尝试再次更新所有软件,现在我的 apt-get 提示这个“点击”模块。

  % sudo apt-get install -f                                                                                                                                           !9045
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
click
Suggested packages:
click-reviewers-tools ubuntu-app-launch-tools | upstart-app-launch-tools
The following packages will be upgraded:
click
1 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
Need to get 0 B/14,5 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 482732 files and directories currently installed.)
Preparing to unpack .../click_0.4.43+16.04.20170613-0ubuntu1_amd64.deb ...
Traceback (most recent call last):
File "/usr/bin/click", line 37, in <module>
import click
ImportError: No module named 'click'
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
Traceback (most recent call last):
File "/usr/bin/click", line 37, in <module>
import click
ImportError: No module named 'click'
dpkg: error processing archive /var/cache/apt/archives/click_0.4.43+16.04.20170613-0ubuntu1_amd64.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
Job for click-system-hooks.service failed because the control process exited with error code. See "systemctl status click-system-hooks.service" and "journalctl -xe" for details.
click-system-hooks.service couldn't start.
Errors were encountered while processing:
/var/cache/apt/archives/click_0.4.43+16.04.20170613-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

我无法安装任何软件包,因为它卡在那里。

这是 Ubuntu 16.10

最佳答案

您是否尝试过使用 PIP 而不是 Apt 安装?如果没有,请执行以下操作:

  1. sudo apt install python-pip
  2. pip install clicksudo pip install click

关于ubuntu - 无法开始工作,没有模块名称 "Click",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44747923/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com