2

in order to install base_report_to_printer module I realized that I should install cups as it is an external_dependencies

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

It's okey to install it on ubuntu by running pip install pycups but how can I install it on windows ?

Borealis
  • 1,021
  • 1
  • 12
  • 29
  • This thread might help you on how to install pip on windows, and hence continue installing your dependencies in a familiar fashion: http://stackoverflow.com/questions/4750806/how-do-i-install-pip-on-windows – dgeorgiev May 12 '17 at 12:56
  • I have already installed `pip`, but when I launch the command `pip install pycups` loadx errors are here `Running setup.py bdist_wheel for pycups ... error` – Borealis May 12 '17 at 15:21
  • even `wheel` is here because when I launch `pip install wheel` ==> `Requirement already satisfied: wheel in c:\python27\lib\site-packages` – Borealis May 12 '17 at 15:27
  • @Borealis What did you do instead of installing CUPS in windows ? I too have a similar issue. I am not able to take prints from local machine (windows and ubuntu) when my odoo is installed in a server. – vbt May 13 '19 at 06:46
  • With windows install the python that ODOO uses is in the ODOO install folder in my case "c:\Program Files (x86)\Odoo 12.0\python". If you run PIP it needs to be from this folder. in that folder I am running "python -m pip install pycups" – Bertus Kruger Feb 11 '20 at 00:42

1 Answers1

1

You can't. From cups.org

CUPS is the standards-based, open source printing system developed by Apple Inc. for macOS® and other UNIX®-like operating systems.

gabrielgiussi
  • 7,577
  • 6
  • 36
  • 67
  • 1
    I am facing the same issue and for this to work on Linux I needed to install the Cups Client aka pycups. The actual CUPS server will need to run on Linux but the client that interacts with it does not need to. My current issue is that I can't build the pycups package in Win10 because VSC++ is not working for me. – Bertus Kruger Feb 11 '20 at 00:40