Skip to Content
Odoo Menu
  • Log ind
  • Prøv gratis
  • Apps
    Økonomi
    • Bogføring
    • Fakturering
    • Udgifter
    • Regneark (BI)
    • Dokumenter
    • e-Signatur
    Salg
    • CRM
    • Salg
    • POS Butik
    • POS Restaurant
    • Abonnementer
    • Udlejning
    Hjemmeside
    • Hjemmesidebygger
    • e-Handel
    • Blog
    • Forum
    • LiveChat
    • e-Læring
    Forsyningskæde
    • Lagerbeholdning
    • Produktion
    • PLM
    • Indkøb
    • Vedligeholdelse
    • Kvalitet
    HR
    • Medarbejdere
    • Rekruttering
    • Fravær
    • Medarbejdersamtaler
    • Anbefalinger
    • Flåde
    Marketing
    • Markedsføring på sociale medier
    • E-mailmarketing
    • SMS-marketing
    • Arrangementer
    • Automatiseret marketing
    • Spørgeundersøgelser
    Tjenester
    • Projekt
    • Timesedler
    • Udkørende Service
    • Kundeservice
    • Planlægning
    • Aftaler
    Produktivitet
    • Dialog
    • Godkendelser
    • IoT
    • VoIP
    • Vidensdeling
    • WhatsApp
    Tredjepartsapps Odoo Studio Odoo Cloud-platform
  • Brancher
    Detailhandel
    • Boghandel
    • Tøjforretning
    • Møbelforretning
    • Dagligvarebutik
    • Byggemarked
    • Legetøjsforretning
    Mad og værtsskab
    • Bar og pub
    • Restaurant
    • Fastfood
    • Gæstehus
    • Drikkevareforhandler
    • Hotel
    Ejendom
    • Ejendomsmægler
    • Arkitektfirma
    • Byggeri
    • Ejendomsadministration
    • Havearbejde
    • Boligejerforening
    Rådgivning
    • Regnskabsfirma
    • Odoo-partner
    • Marketingbureau
    • Advokatfirma
    • Rekruttering
    • Audit & certificering
    Produktion
    • Tekstil
    • Metal
    • Møbler
    • Fødevareproduktion
    • Bryggeri
    • Firmagave
    Heldbred & Fitness
    • Sportsklub
    • Optiker
    • Fitnesscenter
    • Kosmetolog
    • Apotek
    • Frisør
    Håndværk
    • Handyman
    • IT-hardware og support
    • Solenergisystemer
    • Skomager
    • Rengøringsservicer
    • VVS- og ventilationsservice
    Andet
    • Nonprofitorganisation
    • Miljøagentur
    • Udlejning af billboards
    • Fotografi
    • Cykeludlejning
    • Softwareforhandler
    Gennemse alle brancher
  • Community
    Få mere at vide
    • Tutorials
    • Dokumentation
    • Certificeringer
    • Oplæring
    • Blog
    • Podcast
    Bliv klogere
    • Udannelselsesprogram
    • Scale Up!-virksomhedsspillet
    • Besøg Odoo
    Få softwaren
    • Download
    • Sammenlign versioner
    • Udgaver
    Samarbejde
    • Github
    • Forum
    • Arrangementer
    • Oversættelser
    • Bliv partner
    • Tjenester til partnere
    • Registrér dit regnskabsfirma
    Modtag tjenester
    • Find en partner
    • Find en bogholder
    • Kontakt en rådgiver
    • Implementeringstjenester
    • Kundereferencer
    • Support
    • Opgraderinger
    Github Youtube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Få en demo
  • Prissætning
  • Hjælp

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

  • CRM
  • e-Commerce
  • Bogføring
  • Lager
  • PoS
  • Projekt
  • MRP
All apps
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Hjælp

No module named PyPDF2

Tilmeld

Få besked, når der er aktivitet på dette indlæg

Dette spørgsmål er blevet anmeldt
installationodoo9
3 Besvarelser
20300 Visninger
Avatar
Christian Mahlich

Hi there,

I am trying to install Odoo 9 by sources on Ubuntu 16.04.5 LTS but unfortunately when executing ./odoo-bin I receive following issue:

Traceback (most recent call last):

  File "./odoo-bin", line 5, in <module>

    import odoo

  File "/media/sf_git/source/odoo/odoo/__init__.py", line 89, in <module>

    from . import modules

  File "/media/sf_git/source/odoo/odoo/modules/__init__.py", line 8, in <module>

    from . import db, graph, loading, migration, module, registry

  File "/media/sf_git/source/odoo/odoo/modules/graph.py", line 10, in <module>

    import odoo.tools as tools

  File "/media/sf_git/source/odoo/odoo/tools/__init__.py", line 7, in <module>

    from . import pdf

  File "/media/sf_git/source/odoo/odoo/tools/pdf.py", line 4, in <module>

    from PyPDF2 import PdfFileWriter, PdfFileReader

ImportError: No module named 'PyPDF2'


I tried to sudo pip install PyPDF and sudo pip install PyPDF2

But always receive following message:

Reqirement already satisfied (use --upgrade to upgrade): PyPDF in /usr/local/lib/python2.7/dist-packages

You are using pip version 8.1.1, however version 18.1 is available.

You should consider upgrading via the 'pip install --upgrade pip' command.


I am not 100% if everything is set up correctly regarding Python versions. I read that I do require pyhthon 2.7.9 for Odoo 9 and I did install it. But not 100% sure if it is set as default or if I need to configure this some how.

Running python -V returns: Python 2.7.9

Running python3 -V return: Python 3.5.2


Hope you can help me! Thanks in advance!

0
Avatar
Kassér
Fatih Piristine

can you setup virtualenv with python2 and

pip install --no-cache -r requiments.txt then try it. here is guide for venv https://virtualenv.pypa.io/en/latest/userguide/

Avatar
Christian Mahlich
Forfatter Bedste svar

I noticed that I was running on Odoo 11.0 sources. After switichting the branch to Odoo 9.0 it worked just fine!

0
Avatar
Kassér
Avatar
TheBrush
Bedste svar

The problem is a session that is terminated and ODOO restart but not in VENV context so python3 doesnt find correct dependencies

See the correct mode to launch if venv is used:
https://github.com/odoo/odoo/issues/33479#issuecomment-1207347677

0
Avatar
Kassér
Avatar
Mitul Shingala
Bedste svar

hello,

install this below package

sudo apt-get install python-pypdf2

or 

sudo python -m pip install pypdf2


-1
Avatar
Kassér
Enjoying the discussion? Don't just read, join in!

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

Tilmeld dig
Related Posts Besvarelser Visninger Aktivitet
Error while installing modules. It comes with the following error and the module stays on Cancel Install. Løst
installation modules odoo9
Avatar
Avatar
Avatar
3
apr. 21
9545
Clean install odoo 9 does not work
installation odoo9 odoo9.0
Avatar
Avatar
Avatar
6
jun. 16
7105
Error in website_portal_sale module in Odoo9?
installation odoo9 odoo9.0
Avatar
0
feb. 16
4042
Problem with first installation
installation centos odoo9
Avatar
3
jan. 16
4927
Install Odoo Comunity 18 without 15 days free trial version Løst
installation
Avatar
Avatar
3
jul. 25
4327
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Oversættelser
Tjenester
  • Odoo.sh-hosting
  • Support
  • Opgradere
  • Individuelt tilpasset udvikling
  • Uddannelse
  • Find en bogholder
  • Find en partner
  • Bliv partner
Om os
  • Vores virksomhed
  • Brandaktiver
  • Kontakt os
  • Stillinger
  • Arrangementer
  • Podcast
  • Blog
  • Kunder
  • Juridiske dokumenter • Privatlivspolitik
  • Sikkerhedspolitik
الْعَرَبيّة 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 er en samling open source-forretningsapps, der dækker alle dine virksomhedsbehov – lige fra CRM, e-handel og bogføring til lagerstyring, POS, projektledelse og meget mere.

Det unikke ved Odoo er, at systemet både er brugervenligt og fuldt integreret.

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