Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Restauration & Hôtellerie
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brasserie
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Commerce
    • Bricoleur
    • Matériel informatique & support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Parcourir toutes les industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenir partenaire
    • Services pour partenaires
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

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

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

ImportError: cannot import name 'clock' from 'time'

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
installationwindowsource_codesourcepython3.x
4 Réponses
44358 Vues
Avatar
Alexandre Sousa

Hi there, first time installation in windows 10 source install (using Python 3.8) and getting the error below:


C:\odoo>py -3.8 odoo-bin -r odoo -w odoo --addons-path=addons -d odoo 
Traceback (most recent call last):
File "odoo-bin", line 5, in <module>
import odoo
File "C:\odoo\odoo\__init__.py", line 112, in <module>
from . import modules
File "C:\odoo\odoo\modules\__init__.py", line 8, in <module>
from . import db, graph, loading, migration, module, registry
File "C:\odoo\odoo\modules\graph.py", line 10, in <module>
import odoo.tools as tools
File "C:\odoo\odoo\tools\__init__.py", line 8, in <module>
from .config import config
File "C:\odoo\odoo\tools\config.py", line 19, in <module>
from passlib.context import CryptContext
File "C:\Program Files\Python38\lib\site-packages\passlib\context.py", line 20, in <module>
from passlib.registry import get_crypt_handler, _validate_handler_name
File "C:\Program Files\Python38\lib\site-packages\passlib\registry.py", line 11, in <module>
from passlib.utils import is_crypt_handler
File "C:\Program Files\Python38\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)

0
Avatar
Ignorer
Sehrish

Odoo Source Installation: http://learnopenerp.blogspot.com/2019/10/configure-pycharm-with-odoo.html

Avatar
Luay Elsherif
Meilleure réponse

I have the same issue using python 3.8.3 for odoo 13

  • passlib 1.7.1

Resolved after upgrade to 

  • passlib 1.7.2
4
Avatar
Ignorer
Walid Redwan

thanks

Avatar
Niyas Raphy (Walnut Software Solutions)
Meilleure réponse

Hi,

Odoo10 is supposed to run in Python 2. Using the Python 3, you can run v11 and above.

Thanks

0
Avatar
Ignorer
Avatar
Alexandre Sousa
Auteur Meilleure réponse

Hi Niyas,

Thank you for your answer. 

I was following the installation guide on the official Odoo website, and there they it says Odoo requires Python 3.6 or later.

The version that I am trying to install the latest version available for download which is version 13.


Edited: The solution was to install Python 3.6, after that it runs perfectly. Looks like Odoo is not prepared to run other versions of python as they advertise in their website. :(


0
Avatar
Ignorer
HASEEB AHMED

haven't solved it yet. at least i can confirm, windows, python 3.8.10 generating same error :)

Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
How to setup a development environment on Windows (from source), pip install -r requirements.txt failing Résolu
installation source_code python3
Avatar
Avatar
2
sept. 20
14400
Can i have the accounting app for free??
accounting installation source_code odoo
Avatar
Avatar
1
mai 25
19016
Installing and running Odoo 17 on Ubuntu 22.04 server
installation install source ubuntuserver v17
Avatar
Avatar
Avatar
Avatar
Avatar
6
juin 24
56396
which odoo installation method is good for production.
installation nightly source_code Yenthe v15
Avatar
0
mars 22
4717
odoo source code installation (step by step)
windows installation install source_code odoo
Avatar
Avatar
2
janv. 20
26852
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenir partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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