【发布时间】: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 pycupsloadx 错误在这里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”