Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

Odoo11 setup in Eclipse with Python 3.4

Subscriure's

Get notified when there's activity on this post

This question has been flagged
eclipsepython3.xodoo11community
2 Respostes
7075 Vistes
Avatar
Prasath

I had tried to setup odoo11 using python3 (3.4) as intrepreter and grammar version as 3.0.

Am not able to run the server due to below error like "SyntaxError: invalid character in identifier"

Error Details :

2018-05-18 12:42:52,701 20669 ERROR ? werkzeug: Error on request:
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/werkzeug/serving.py", line 270, in run_wsgi
    execute(self.server.app)
  File "/usr/local/lib/python3.4/dist-packages/werkzeug/serving.py", line 258, in execute
    application_iter = app(environ, start_response)
  File "/home/dev727/workspace/Ten10odoo11/odoo/service/server.py", line 251, in app
    return self.app(e, s)
  File "/home/dev727/workspace/Ten10odoo11/odoo/service/wsgi_server.py", line 166, in application
    return application_unproxied(environ, start_response)
  File "/home/dev727/workspace/Ten10odoo11/odoo/service/wsgi_server.py", line 154, in application_unproxied
    result = handler(environ, start_response)
  File "/home/dev727/workspace/Ten10odoo11/odoo/http.py", line 1297, in __call__
    self.load_addons()
  File "/home/dev727/workspace/Ten10odoo11/odoo/http.py", line 1313, in load_addons
    manifest = ast.literal_eval(pycompat.to_native(manifest_data))
  File "/usr/lib/python3.4/ast.py", line 46, in literal_eval
    node_or_string = parse(node_or_string, mode='eval')
  File "/usr/lib/python3.4/ast.py", line 35, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 1
    # -*- coding: utf-8 -*-
    ^
SyntaxError: invalid character in identifier





0
Avatar
Descartar
Avatar
Prasath
Autor Best Answer

I had upgraded my python version to 3.5.5 but still below error occurs

 File "/home/dev727/workspace/odoo11-base/odoo-bin", line 5, in <module>
    import odoo
  File "/home/dev727/workspace/odoo11-base/odoo/__init__.py", line 84, in <module>
    from . import modules
  File "/home/dev727/workspace/odoo11-base/odoo/modules/__init__.py", line 8, in <module>
    from . import db, graph, loading, migration, module, registry
  File "/home/dev727/workspace/odoo11-base/odoo/modules/graph.py", line 10, in <module>
    import odoo.tools as tools
  File "/home/dev727/workspace/odoo11-base/odoo/tools/__init__.py", line 7, in <module>
    from . import pdf
  File "/home/dev727/workspace/odoo11-base/odoo/tools/pdf.py", line 4, in <module>
    from PyPDF2 import PdfFileWriter, PdfFileReader
ImportError: No module named 'PyPDF2'


When i tried to install PyPDF2 using below command

root@tpt727:/home/dev727# sudo pip3 install pypdf2
Requirement already satisfied: pypdf2 in /usr/local/lib/python3.4/dist-packages (1.26.0)
pydot 1.2.4 has requirement pyparsing>=2.1.4, but you'll have pyparsing 2.0.1 which is incompatible.
mock 2.0.0 has requirement six>=1.9, but you'll have six 1.5.2 which is incompatible.


Am using ubuntu 14.04 OS.



0
Avatar
Descartar
Avatar
Ermin Trevisan
Best Answer

Before you try anything else, please check the requirements for Odoo 11.0 and here you will see that Odoo 11.0 support Python 3.5: https://www.odoo.com/groups/community-59/community-32859400

0
Avatar
Descartar
Enjoying the discussion? Don't just read, join in!

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

Registrar-se
Related Posts Respostes Vistes Activitat
How to connect a biometric device with odoo11 with the same network ( LAN )? Solved
python3.x odoo11community
Avatar
Avatar
Avatar
Avatar
3
de març 21
5432
Can Odoo 11 auto import file csv into module Attendance? Solved
python3.x odoo11community
Avatar
Avatar
Avatar
3
de febr. 21
7059
How can I request public holiday leaves for all employee, not one by one?
python3.x odoo11community
Avatar
Avatar
Avatar
2
d’ag. 19
4271
How can I combine 2 pivot of Sale and POS into 1 pivot on my new module?
report pivot python3.x odoo11community
Avatar
0
de jul. 19
3290
How can remove decimal number ".00" in print receipt? Solved
odoo11community
Avatar
Avatar
Avatar
Avatar
Avatar
9
de juny 23
14052
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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