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

odoo 13 don't work with python 3.7

Subscribe

Get notified when there's activity on this post

This question has been flagged
Odoo13.0odoo13.0Odoo13odoo13odoo13v
1 Reply
9601 Views
Avatar
Fares_Algerien

hello everyone, i tried to use odoo 13 src with python 3.7.4 on windows 8, i configured pycharm

script path : D:\odoo_13_projects\odoo13\odoo-bin

parameters : -r odoo -w odoo --db_host=localhost --addons-path=D:\odoo_13_projects\odoo13\addons

and i installed python requirements but always odoo didn't work

Traceback (most recent call last):
  File "C:\Users\Pc\AppData\Local\Programs\Python\Python37\lib\site-packages\werkzeug\serving.py", line 56, in <module>
    from http.server import BaseHTTPRequestHandler
  File "C:\Users\Pc\AppData\Local\Programs\Python\Python37\lib\http\server.py", line 92, in <module>
    import email.utils
  File "C:\Users\Pc\AppData\Local\Programs\Python\Python37\lib\email\utils.py", line 33, in <module>
    from email._parseaddr import quote
  File "C:\Users\Pc\AppData\Local\Programs\Python\Python37\lib\email\_parseaddr.py", line 16, in <module>
    import time, calendar
  File "D:\odoo_13_projects\odoo13\addons\calendar\__init__.py", line 4, in <module>
    from . import controllers
  File "D:\odoo_13_projects\odoo13\addons\calendar\controllers\__init__.py", line 4, in <module>
    from . import main
  File "D:\odoo_13_projects\odoo13\addons\calendar\controllers\main.py", line 6, in <module>
    from odoo.api import Environment
  File "D:\odoo_13_projects\odoo13\odoo\api.py", line 29, in <module>
    from .tools.translate import _
  File "D:\odoo_13_projects\odoo13\odoo\tools\translate.py", line 21, in <module>
    from babel.messages import extract
  File "C:\Users\Pc\AppData\Local\Programs\Python\Python37\lib\site-packages\babel\messages\__init__.py", line 12, in <module>
    from babel.messages.catalog import *
  File "C:\Users\Pc\AppData\Local\Programs\Python\Python37\lib\site-packages\babel\messages\catalog.py", line 15, in <module>
    from cgi import parse_header
  File "C:\Users\Pc\AppData\Local\Programs\Python\Python37\lib\cgi.py", line 39, in <module>
    from email.parser import FeedParser
  File "C:\Users\Pc\AppData\Local\Programs\Python\Python37\lib\email\parser.py", line 12, in <module>
    from email.feedparser import FeedParser, BytesFeedParser
  File "C:\Users\Pc\AppData\Local\Programs\Python\Python37\lib\email\feedparser.py", line 27, in <module>
    from email._policybase import compat32
  File "C:\Users\Pc\AppData\Local\Programs\Python\Python37\lib\email\_policybase.py", line 9, in <module>
    from email.utils import _has_surrogates
ImportError: cannot import name '_has_surrogates' from 'email.utils' (C:\Users\Pc\AppData\Local\Programs\Python\Python37\lib\email\utils.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:/odoo_13_projects/odoo13/odoo-bin", line 5, in <module>
    import odoo
  File "D:\odoo_13_projects\odoo13\odoo\__init__.py", line 113, in <module>
    from . import modules
  File "D:\odoo_13_projects\odoo13\odoo\modules\__init__.py", line 8, in <module>
    from . import db, graph, loading, migration, module, registry
  File "D:\odoo_13_projects\odoo13\odoo\modules\graph.py", line 10, in <module>
    import odoo.tools as tools
  File "D:\odoo_13_projects\odoo13\odoo\tools\__init__.py", line 10, in <module>
    from .misc import *
  File "D:\odoo_13_projects\odoo13\odoo\tools\misc.py", line 29, in <module>
    import werkzeug.utils
  File "C:\Users\Pc\AppData\Local\Programs\Python\Python37\lib\site-packages\werkzeug\__init__.py", line 218, in <module>
    from .serving import run_simple
  File "C:\Users\Pc\AppData\Local\Programs\Python\Python37\lib\site-packages\werkzeug\serving.py", line 59, in <module>
    import SocketServer as socketserver
ModuleNotFoundError: No module named 'SocketServer'
0
Avatar
Discard
Sehrish

Hope these configuration source will help you: https://learnopenerp.blogspot.com/2020/08/install-odoo13-on-windows-with-pycharm-configuration.html

Sehrish

You can install new packages using pip install package_name

Sehrish

try

1- pip install pycopy-socketserver

2- pip install systemd-socketserver

Fares_Algerien
Author

he didn't work always the same problem

Tsiorimampionina ravalison

Hello,

socketserver is used in werkzeug lib, if running this command does not resolve the problem :

pip install pycopy-socketserver

It could be a problem with the Werkzeug, uninstall the package with

pip3 unistall Werkzeug

then reinstall with version 0.11.15:

pip3 install Werkzeug == 0.11.15

Fares_Algerien
Author

when i uninstalled Werkzeug and installed Werkzeug 0.11.15 the error changed

Avatar
Fares_Algerien
Author Best Answer

 I found the solution, I use two versions of python so I have to uncheck add content roots to PYTHONPATH and add source roots to PYTHONPATH in pycharm. Thank you guys


1
Avatar
Discard
muhammed ashraf

run with me,
thanks

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
Having trouble installing the website module in a fresh DB
Odoo13.0 odoo13.0 Odoo13 odoo13 odoo13CE
Avatar
0
Nov 21
3370
Database problem
Odoo13.0 odoo13.0 Odoo13 odoo13 odoo13CE
Avatar
Avatar
Avatar
Avatar
8
Mar 20
10505
Error with search content in elearning platform of Odoo 13
Odoo13.0 odoo13.0 Odoo13 odoo13 odoo13CE
Avatar
0
Oct 19
3964
Error with newsletter block of website builder in ODOO 13
Odoo13.0 odoo13.0 Odoo13 odoo13 odoo13CE
Avatar
0
Oct 19
4694
How to put domain filter on One2Many Field on a from Solved
Odoo13.0 Odoo13 odoo13 odoo13CE
Avatar
1
Nov 21
4679
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