Přejít na obsah
Odoo Menu
  • Přihlásit se
  • Vyzkoušejte zdarma
  • Aplikace
    Finance
    • Účetnictví
    • Fakturace
    • Výdaje
    • Spreadsheet (BI)
    • Dokumenty
    • Podpisy
    Prodej
    • CRM
    • Prodej
    • POS Obchod
    • POS Restaurace
    • Předplatné
    • Pronájem
    Webové stránky
    • Webové stránky
    • E-shop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Dodavatelský řetězec
    • Sklad
    • Výroba
    • PLM
    • Nákup
    • Údržba
    • Kvalita
    Lidské zdroje
    • Zaměstnanci
    • Nábor
    • Volno
    • Hodnocení zaměstnanců
    • Doporučení
    • Vozový park
    Marketing
    • Marketing sociálních sítí
    • Emailový marketing
    • SMS Marketing
    • Události
    • Marketingová automatizace
    • Dotazníky
    Služby
    • Projekt
    • Časové výkazy
    • Práce v terénu
    • Helpdesk
    • Plánování
    • Schůzky
    Produktivita
    • Diskuze
    • Schvalování
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Aplikace třetích stran Odoo Studio Odoo cloudová platforma
  • Branže
    Maloobchod
    • Knihkupectví
    • Obchod s oblečením
    • Obchod s nábytkem
    • Potraviny
    • Obchod s hardwarem
    • Hračkářství
    Food & Hospitality
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Guest House
    • Distributor nápojů
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Trades
    • Údržbář
    • IT hardware a podpora
    • Solar Energy Systems
    • Výrobce obuvi
    • Úklidové služby
    • HVAC Services
    Others
    • Nonprofit Organization
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Browse all Industries
  • Komunita
    Edukační program
    • Tutoriály
    • Dokumentace
    • Certifikace
    • Vzdělávání
    • Blog
    • Podcast
    Podpora vzdělávání
    • Vzdělávací program
    • Scale Up! Hra na firmu
    • Navštivte Odoo
    Získat software
    • Stáhnout
    • Porovnejte edice
    • Verze
    Spolupráce
    • Github
    • Fórum
    • Události
    • Překlady
    • Stát se partnerem
    • Services for Partners
    • Registrujte svou účetní firmu
    Získat služby
    • Najít partnera
    • Najít účetní
    • Setkejte se s poradcem
    • Implementační služby
    • Zákaznické reference
    • Podpora
    • Upgrady
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dohodnout demo
  • Ceník
  • Pomoc

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Účetnictví
  • Sklad
  • PoS
  • Projekty
  • MRP
All apps
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
Pomoc

[11.0]How to install pycups module on odoo.sh?

Odebírat

Get notified when there's activity on this post

This question has been flagged
printerdependenciescupsodoo.sh
5 Odpovědi
18057 Zobrazení
Avatar
arthur

Hello, I have install modules "base_report_to_printer" and "remote_report_to_printer" and have successfully installed these modules running Odoo Locally. On Odoo.sh, however, I can't install these modules and get the error:

"Unable to install module "base_report_to_printer" because an external dependency is not met: No module named cups".

I have try to place the module "pycups" on my requirements.txt file, but the dependecy installation fails on Odoo.sh, but I can find no errors related to pycups on pip.log file.

Have anyone being  through this and knows how to properly install the dependencies from "base_report_to_printer" and "remote_report_to_printer"?

2
Avatar
Zrušit
Jainesh Shah(Aktiv Software)

Hello @arthur,

Try once in webshell

Lindari Solutions

Did you manage to resolve this? I am encountering the same issue.

R. Bayir

I have the same problem. Non of the action solved. It seems I have installed everything above. But I still get the same error. 

Unable to install module "base_report_to_printer" because an external dependency is not met: Python library not installed: pycups

Avatar
Raphael Lee
Nejlepší odpověď

In case someone comes across this, the answer is that this is not possible. The module  base_report_to_printer  requires  that  the  binary  dependency  "cups"  is  installed  on  the  server.  Odoo.sh  allows  you  to  install  python  dependencies , but not binary dependencies. Further explanation is on the repo: https://github.com/OCA/report-print-send/issues/176


More information on Odoo.sh and apt binary packages here: https://www.odoo.com/forum/help-1/how-i-can-install-apt-library-in-odoo-sh-176308

1
Avatar
Zrušit
Avatar
Khoa Tran
Nejlepší odpověď

Hi Arthur,

You should put cups module in your requirements.txt file, not pycups.

Put the below line, it should work

cups==0.0.6
0
Avatar
Zrušit
Avatar
Anisha Bahukhandi
Nejlepší odpověď

Hello Arthur, 

You can use apt-get install libcups2-dev command in order to install pycups library

There is an another way too; using GIT you can install library

git clone https://github.com/OpenPrinting/pycups.git -b python3

cd pycups

python3 setup.py install

Thanks

Anisha Bahukhandi

Technical Content Writer

0
Avatar
Zrušit
Benjamin

Hello Anisha

Thanks for your instructions, but how is it possible to use the command "apt-get install libcups2-dev command" on odoo.sh? Since I don't have root access, I get the following error:

E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)

E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?

Do you have any ideas?

Thanks a lot for your help.

Avatar
Pierra Kimathi
Nejlepší odpověď

Try pip install --user pycups

-2
Avatar
Zrušit
Avatar
Hassan Alamoudi (sonod.tech)
Nejlepší odpověď

try install python-pip

use:

sudo apt install python-pip

don't forget install 

sudo apt-get install cups
sudo apt-get install libcups2-dev
sudo apt-get install python3-dev
After do the above steps try install pycups.
use:
sudo pip install pycups
it will be work.

-3
Avatar
Zrušit
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Přihlásit se
Related Posts Odpovědi Zobrazení Aktivita
odoo.sh and dependencies
dependencies odoo.sh odoo16features
Avatar
0
bře 24
2203
how to add CUPS dependency in windows
printer report cups
Avatar
Avatar
1
úno 16
5659
Install Cups on Posbox
printer posbox cups Posbox
Avatar
Avatar
4
dub 19
7971
Report to Printer module doesn't recognise online printer available in client machine.
printer hardware odoo8.0 cups
Avatar
0
led 16
4894
Use local USB printer in Community edition POS
printer cups Community POS on-premise
Avatar
0
led 23
4098
Komunita
  • Tutoriály
  • Dokumentace
  • Fórum
Open Source
  • Stáhnout
  • Github
  • Runbot
  • Překlady
Služby
  • Odoo.sh hostování
  • Podpora
  • Upgrade
  • Nestandardní vývoj
  • Edukační program
  • Najít účetní
  • Najít partnera
  • Stát se partnerem
O nás
  • Naše společnost
  • Podklady značky
  • Kontakujte nás
  • Práce
  • Události
  • Podcast
  • Blog
  • Zákazníci
  • Právní dokumenty • Soukromí
  • Zabezpečení
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo je balíček open-source aplikací, které pokrývají všechny potřeby vaší společnosti: CRM, e-shop, účetnictví, sklady, kasy, projektové řízení a další.

Unikátní nabídka od Odoo poskytuje velmi jednoduché uživatelské rozhraní a vše je integrované na jednom místě.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now