AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 1222832
Accepted
Marcel Gangwisch
Marcel Gangwisch
Asked: 2020-04-01 04:06:42 +0800 CST2020-04-01 04:06:42 +0800 CST 2020-04-01 04:06:42 +0800 CST

如何在 ubuntu 19.10 下安装包 python-uniconverter?

  • 772

我正在尝试使用 inkscape 进行绘图,如果我使用 ctrl + c 将图像复制到另一个程序,则会收到 python-uniconverter 丢失的错误消息。

此外,我无法使用 apt-get install python-uniconverter 安装它,因为似乎缺少该软件包。

你知道安装这个丢失的包的过程吗?

谢谢!

package-management apt inkscape 19.10
  • 5 5 个回答
  • 3155 Views

5 个回答

  • Voted
  1. Best Answer
    N0rbert
    2020-04-01T06:13:17+08:002020-04-01T06:13:17+08:00

    您可以从https://packages.ubuntu.com/xenial/python-uniconvertor手动下载此软件包并使用以下命令进行安装:

    cd ~/Downloads
    wget http://archive.ubuntu.com/ubuntu/pool/universe/p/pillow/python-imaging_3.1.2-0ubuntu1.4_all.deb \
    http://old-releases.ubuntu.com/ubuntu/pool/universe/p/python-reportlab/python-reportlab-accel_3.5.23-1ubuntu0.1_amd64.deb \
    http://security.ubuntu.com/ubuntu/pool/universe/p/python-reportlab/python-reportlab_3.3.0-1ubuntu0.1_all.deb \
    http://archive.ubuntu.com/ubuntu/pool/universe/p/python-uniconvertor/python-uniconvertor_1.1.5-2_amd64.deb
    sudo apt install ./python-imaging_3.1.2-0ubuntu1.4_all.deb \
    ./python-reportlab-accel_3.5.23-1ubuntu0.1_amd64.deb \
    ./python-reportlab_3.3.0-1ubuntu0.1_all.deb \
    ./python-uniconvertor_1.1.5-2_amd64.deb
    
    • 2
  2. abu_bua
    2020-05-08T18:05:59+08:002020-05-08T18:05:59+08:00

    在 Ubuntu 20.04 上安装

    要安装uniconvertor 1.1.5-4,您必须安装额外的 python-report-accel 包。这些包也是构建 inkscape 1.0 所必需的

    wget http://launchpadlibrarian.net/306203180/python-uniconvertor_1.1.5-4_amd64.deb  http://launchpadlibrarian.net/303745119/python-imaging_4.0.0-4_all.deb  http://launchpadlibrarian.net/469960854/python3-reportlab_3.5.34-1ubuntu1_all.deb   http://launchpadlibrarian.net/469960848/python-reportlab-doc_3.5.34-1ubuntu1_all.deb
    

    并安装

    sudo apt install ./python-uniconvertor_1.1.5-4_amd64.deb ./python-imaging_4.0.0-4_all.deb ./python3-reportlab_3.5.34-1ubuntu1_all.deb ./python-reportlab-doc_3.5.34-1ubuntu1_all.deb
    

    包 python-reportlab-doc 提供 pdf/html 文档。

    • 0
  3. user1001678
    2021-05-18T21:08:41+08:002021-05-18T21:08:41+08:00

    我和原始海报有同样的问题。我的系统是 Lubuntu 20.04.2。

    我尝试了 abu_bau 的解决方案,并添加了 v_mil。当我尝试 Ctrl+C 时,Inkscape 仍然给我以下错误消息:

    UniConvertor failed:

    Traceback (most recent call last): File "/usr/bin/uniconvertor", line 13, in uniconv_run() File "/usr/lib/python2.7/dist-packages/uniconvertor/init.py", line 83, in uniconv_run from app.io import load File "/usr/lib/python2.7/dist-packages/uniconvertor/app/init.py", line 69, in from conf.configurator import Configurator File "/usr/lib/python2.7/dist-packages/uniconvertor/app/conf/configurator.py", line 11, in from app.events import connector File "/usr/lib/python2.7/dist-packages/uniconvertor/app/init.py", line 69, in from conf.configurator import Configurator File "/usr/lib/python2.7/dist-packages/uniconvertor/app/conf/configurator.py", line 13, in from sk1libs.utils.fs import gethome ImportError: No module named sk1libs.utils.fs

    但是,我找到了一个笨拙的解决方法。我打开 Inkscape 的 XML 编辑器,选择我要复制的节点,然后告诉它“复制节点”,这是一个可以通过 XML 编辑器子窗口顶部的按钮选择的选项。那给我一个副本,粘贴到文档中。然后我可以移动它或用它做我想做的事。

    • 0
  4. cabanni
    2021-12-14T07:40:55+08:002021-12-14T07:40:55+08:00

    最好的解决方案是通过 snap 安装最新的 inkscape 版本。在 Inkscape 1.1 中,复制粘贴工作正常。

    • 0
  5. Antoine Mathieu
    2022-07-13T11:42:11+08:002022-07-13T11:42:11+08:00

    我建议安装新版本的 Inkscape(截至 2022 年 7 月的 1.2 版),因为它不使用已弃用的 Python 库,因此在使用 ctrl+c 时不会打印任何错误消息。

    请注意,截至目前(据了解),Ubuntu 存储库中不提供此新版本,您必须使用Inkscape 的 ppa安装它:

    sudo add-apt-repository ppa:inkscape.dev/stable
    sudo apt update
    sudo apt install inkscape
    

    我刚刚尝试通过 Snap 安装它,但它根本不工作,所以我尝试了这种安装方式(通过 ppa),它工作得很好。

    • 0

相关问题

  • 如何从命令行仅安装安全更新?关于如何管理更新的一些提示

  • 如何从命令行判断机器是否需要重新启动?

  • 有没有办法重置所有包/源并从头开始?

  • 如何回滚到 PHP 5.2?

  • 包管理器之间有什么区别?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve