【问题标题】:install CUPS in windows在 Windows 中安装 CUPS
【发布时间】:2017-05-12 08:47:52
【问题描述】:

为了安装base_report_to_printer 模块,我意识到我应该安装cups,因为它是一个external_dependencies

    'external_dependencies': {
        'python': ['cups'],
    },

运行pip install pycups可以在ubuntu上安装它,但是如何在windows上安装呢?

【问题讨论】:

  • 此线程可能会帮助您了解如何在 Windows 上安装 pip,从而继续以熟悉的方式安装您的依赖项:stackoverflow.com/questions/4750806/…
  • 我已经安装了pip,但是当我启动命令时pip install pycups loadx 错误在这里Running setup.py bdist_wheel for pycups ... error
  • 甚至 wheel 也在这里,因为当我启动 pip install wheel ==> Requirement already satisfied: wheel in c:\python27\lib\site-packages
  • @Borealis 你做了什么而不是在 windows 中安装 CUPS?我也有类似的问题。当我的 odoo 安装在服务器中时,我无法从本地机器(windows 和 ubuntu)进行打印。
  • 使用 windows 安装 ODOO 使用的 python 在 ODOO 安装文件夹中,在我的例子中是“c:\Program Files (x86)\Odoo 12.0\python”。如果您运行 PIP,它需要来自此文件夹。在那个文件夹中,我正在运行“python -m pip install pycups”

标签: openerp printers cups


【解决方案1】:

你不能。来自cups.org

CUPS 是 Apple Inc. 为 ma​​cOS® 和其他 UNIX® 类 操作系统开发的基于标准的开源打印系统。

【讨论】:

  • 我面临同样的问题,为了在 Linux 上工作,我需要安装 Cups Client aka pycups。实际的 CUPS 服务器需要在 Linux 上运行,但与之交互的客户端不需要。我目前的问题是我无法在 Win10 中构建 pycups 包,因为 VSC++ 不适合我。
猜你喜欢
  • 2018-01-08
  • 1970-01-01
  • 1970-01-01
  • 2013-09-25
  • 2019-11-15
  • 2012-07-05
  • 2011-01-23
  • 2014-08-25
  • 2013-09-11
相关资源
最近更新 更多