Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Magazin de îmbrăcăminte
    • Magazin de Mobilă
    • Magazin alimentar
    • Magazin de materiale de construcții
    • Magazin de jucării
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Distribuitor de băuturi
    • Hotel
    Proprietate imobiliara
    • Real Estate Agency
    • Firmă de Arhitectură
    • Construcție
    • Estate Managament
    • Grădinărit
    • Asociația Proprietarilor de Proprietăți
    Consultanta
    • Firma de Contabilitate
    • Partener Odoo
    • Agenție de marketing
    • Law firm
    • Atragere de talente
    • Audit & Certification
    Producție
    • Textil
    • Metal
    • Mobilier
    • Mâncare
    • Brewery
    • Cadouri corporate
    Health & Fitness
    • Club Sportiv
    • Magazin de ochelari
    • Centru de Fitness
    • Wellness Practitioners
    • Farmacie
    • Salon de coafură
    Trades
    • Handyman
    • IT Hardware and Support
    • Asigurare socială de stat
    • Cizmar
    • Servicii de curățenie
    • HVAC Services
    Altele
    • Organizație nonprofit
    • Agenție de Mediu
    • Închiriere panouri publicitare
    • Fotografie
    • Închiriere biciclete
    • Asigurare socială
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

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

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

error while running odoo11 using pycharm

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
windowsodoo11pycharm
4 Răspunsuri
8828 Vizualizări
Imagine profil
ALa

I installed odoo11, python 3.8 and JetBrains PyCharm 2019.2.4, also I installed requirements.txt.

i'm using windows10

when I tried to run odoo from bycharm I got the following error:

_______________________________________________________

File "E:/sh/source/odoo-bin", line 5, in <module>
import odoo
File "E:\sh\source\odoo\__init__.py", line 84, in <module>
from . import modules
File "E:\sh\source\odoo\modules\__init__.py", line 8, in <module>
from . import db, graph, loading, migration, module, registry
File "E:\sh\source\odoo\modules\graph.py", line 10, in <module>
import odoo.tools as tools
File "E:\sh\source\odoo\tools\__init__.py", line 8, in <module>
from .config import config
File "E:\sh\source\odoo\tools\config.py", line 17, in <module>
from passlib.context import CryptContext
File "C:\Users\Ala\AppData\Local\Programs\Python\Python38-32\lib\site-packages\passlib\context.py", line 20, in <module>
from passlib.registry import get_crypt_handler, _validate_handler_name
File "C:\Users\Ala\AppData\Local\Programs\Python\Python38-32\lib\site-packages\passlib\registry.py", line 11, in <module>
from passlib.utils import is_crypt_handler
File "C:\Users\Ala\AppData\Local\Programs\Python\Python38-32\lib\site-packages\passlib\utils\__init__.py", line 1428, in <module>
from time import clock as tick
ImportError: cannot import name 'clock' from 'time' (unknown location)

Process finished with exit code 1

_______________________________________________________  

In fact, for some requirements, I installed other versions than the ones specified in the requirements.txt file, but they are higher than the specified ones.

I couldn't figure out the problem, whether it's an installation error, incompatibility problem or another thing.

I'm just a beginner and I need your kind help.


1
Imagine profil
Abandonează
Waleed Ali Mohsen

As per error log, The problem caused because of passlib python library. it's prefer to install the version in the requirements file.

try to install passlib 1.6.5

ALa
Autor

I tried the following command:

python -m pip install passlib 1.6.5

but I got this:

Requirement already satisfied: passlib in c:\users\ala\appdata\local\programs\python\python38-32\lib\site-packages (1.6.5)

ERROR: Could not find a version that satisfies the requirement 1.6.5 (from versions: none)

ERROR: No matching distribution found for 1.6.5

ALa
Autor

I'm really stuck here, what should I do??

Does anyone have an idea??

Imagine profil
Waleed Ali Mohsen
Cel mai bun răspuns

I have installed python 3.8 in my PC and I installed the python requirement for odoo11 and when I tried to run odoo I got the same error your are facing so I googled it and found that time.clock() is removed in python 3.8.

I have uninstalled passlib==1.6.5 and installed the latest version 1.7.2 and the error is disappeared 

python -m pip uninstall  passlib

python -m pip install  passlib

but I got another error related to psycopg2 so I have uninstalled the version 2.8.3 and installed the new version 2.8.4 and run the Odoo and it's working.

 So what have to do is: 

python -m pip uninstall  passlib

python -m pip install  passlib

and then 

python -m pip uninstall   psycopg2 

python -m pip install   psycopg2 


By the way, The Pillow lib version in requirements doesn't support python 3.8 so you have to install the latest version 6.2.1   

python -m pip uninstall   Pillow 

python -m pip install   Pillow 


Please try it and let me the results.


0
Imagine profil
Abandonează
Enjoying the discussion? Don't just read, join in!

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

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
why I can't connect "localhost:8069"? Rezolvat
windows odoo11
Imagine profil
Imagine profil
Imagine profil
Imagine profil
8
dec. 23
36750
Odoo11: How to add module in Odoo11?
terminal odoo11 pycharm
Imagine profil
Imagine profil
3
mai 21
5291
How to enable gzip compression and leverage browser caching in odoo-11 window deployment? Rezolvat
windows deployment odoo11
Imagine profil
Imagine profil
1
iul. 19
9258
Connecting odoo 11.0 to pycharm on windows 10
scaffold odoo11 pycharm
Imagine profil
Imagine profil
6
feb. 19
9285
Integrate Odoo11 with Pycharm to debug on windows 10
debug odoo11 pycharm
Imagine profil
1
apr. 18
13791
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة 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 este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

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