Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

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

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

Odoo11 setup in Eclipse with Python 3.4

Subscribe

Get notified when there's activity on this post

This question has been flagged
eclipsepython3.xodoo11community
2 Replies
7113 Views
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
Discard
Avatar
Prasath
Author 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
Discard
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
Discard
Enjoying the discussion? Don't just read, join in!

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

Sign up
Related Posts Replies Views Activity
How to connect a biometric device with odoo11 with the same network ( LAN )? Solved
python3.x odoo11community
Avatar
Avatar
Avatar
Avatar
3
Mar 21
5452
Can Odoo 11 auto import file csv into module Attendance? Solved
python3.x odoo11community
Avatar
Avatar
Avatar
3
Feb 21
7077
How can I request public holiday leaves for all employee, not one by one?
python3.x odoo11community
Avatar
Avatar
Avatar
2
Aug 19
4278
How can I combine 2 pivot of Sale and POS into 1 pivot on my new module?
report pivot python3.x odoo11community
Avatar
0
Jul 19
3309
How can remove decimal number ".00" in print receipt? Solved
odoo11community
Avatar
Avatar
Avatar
Avatar
Avatar
9
Jun 23
14069
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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