Passa al contenuto
Odoo Menu
  • Accedi
  • Provalo gratis
  • App
    Finanze
    • Contabilità
    • Fatturazione
    • Note spese
    • Fogli di calcolo (BI)
    • Documenti
    • Firma
    Vendite
    • CRM
    • Vendite
    • Punto vendita Negozio
    • Punto vendita Ristorante
    • Abbonamenti
    • Noleggi
    Siti web
    • Configuratore sito web
    • E-commerce
    • Blog
    • Forum
    • Live chat
    • E-learning
    Supply chain
    • Magazzino
    • Produzione
    • PLM
    • Acquisti
    • Manutenzione
    • Qualità
    Risorse umane
    • Dipendenti
    • Assunzioni
    • Ferie
    • Valutazioni
    • Referral dipendenti
    • Parco veicoli
    Marketing
    • Social marketing
    • E-mail marketing
    • SMS marketing
    • Eventi
    • Marketing automation
    • Sondaggi
    Servizi
    • Progetti
    • Fogli ore
    • Assistenza sul campo
    • Helpdesk
    • Pianificazione
    • Appuntamenti
    Produttività
    • Comunicazioni
    • Approvazioni
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    App di terze parti Odoo Studio Piattaforma cloud Odoo
  • Settori
    Retail
    • Libreria
    • Negozio di abbigliamento
    • Negozio di arredamento
    • Alimentari
    • Ferramenta
    • Negozio di giocattoli
    Cibo e ospitalità
    • Bar e pub
    • Ristorante
    • Fast food
    • Pensione
    • Grossista di bevande
    • Hotel
    Agenzia immobiliare
    • Agenzia immobiliare
    • Studio di architettura
    • Edilizia
    • Gestione immobiliare
    • Impresa di giardinaggio
    • Associazione di proprietari immobiliari
    Consulenza
    • Società di contabilità
    • Partner Odoo
    • Agenzia di marketing
    • Studio legale
    • Selezione del personale
    • Audit e certificazione
    Produzione
    • Tessile
    • Metallo
    • Arredamenti
    • Alimentare
    • Birrificio
    • Ditta di regalistica aziendale
    Benessere e sport
    • Club sportivo
    • Negozio di ottica
    • Centro fitness
    • Centro benessere
    • Farmacia
    • Parrucchiere
    Commercio
    • Tuttofare
    • Hardware e assistenza IT
    • Ditta di installazione di pannelli solari
    • Calzolaio
    • Servizi di pulizia
    • Servizi di climatizzazione
    Altro
    • Organizzazione non profit
    • Ente per la tutela ambientale
    • Agenzia di cartellonistica pubblicitaria
    • Studio fotografico
    • Punto noleggio di biciclette
    • Rivenditore di software
    Carica tutti i settori
  • Community
    Apprendimento
    • Tutorial
    • Documentazione
    • Certificazioni 
    • Formazione
    • Blog
    • Podcast
    Potenzia la tua formazione
    • Programma educativo
    • Scale Up! Business Game
    • Visita Odoo
    Ottieni il software
    • Scarica
    • Versioni a confronto
    • Note di versione
    Collabora
    • Github
    • Forum
    • Eventi
    • Traduzioni
    • Diventa nostro partner
    • Servizi per partner
    • Registra la tua società di contabilità
    Ottieni servizi
    • Trova un partner
    • Trova un contabile
    • Incontra un esperto
    • Servizi di implementazione
    • Testimonianze dei clienti
    • Supporto
    • Aggiornamenti
    GitHub Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Richiedi una demo
  • Prezzi
  • Aiuto

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

  • CRM
  • e-Commerce
  • Contabilità
  • Magazzino
  • PoS
  • Progetti
  • MRP
All apps
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
Assistenza

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

Iscriviti

Ricevi una notifica quando c'è un'attività per questo post

La domanda è stata contrassegnata
installationwindowsource_codesourcepython3.x
4 Risposte
44360 Visualizzazioni
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
Abbandona
Sehrish

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

Avatar
Luay Elsherif
Risposta migliore

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
Abbandona
Walid Redwan

thanks

Avatar
Niyas Raphy (Walnut Software Solutions)
Risposta migliore

Hi,

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

Thanks

0
Avatar
Abbandona
Avatar
Alexandre Sousa
Autore Risposta migliore

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
Abbandona
HASEEB AHMED

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

Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!

Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!

Registrati
Post correlati Risposte Visualizzazioni Attività
How to setup a development environment on Windows (from source), pip install -r requirements.txt failing Risolto
installation source_code python3
Avatar
Avatar
2
set 20
14400
Can i have the accounting app for free??
accounting installation source_code odoo
Avatar
Avatar
1
mag 25
19016
Installing and running Odoo 17 on Ubuntu 22.04 server
installation install source ubuntuserver v17
Avatar
Avatar
Avatar
Avatar
Avatar
6
giu 24
56397
which odoo installation method is good for production.
installation nightly source_code Yenthe v15
Avatar
0
mar 22
4717
odoo source code installation (step by step)
windows installation install source_code odoo
Avatar
Avatar
2
gen 20
26852
Community
  • Tutorial
  • Documentazione
  • Forum
Open source
  • Scarica
  • Github
  • Runbot
  • Traduzioni
Servizi
  • Hosting Odoo.sh
  • Supporto
  • Aggiornamenti
  • Sviluppi personalizzati
  • Formazione
  • Trova un contabile
  • Trova un partner
  • Diventa nostro partner
Chi siamo
  • La nostra azienda
  • Branding
  • Contattaci
  • Lavora con noi
  • Eventi
  • Podcast
  • Blog
  • Clienti
  • Note legali • Privacy
  • Sicurezza
الْعَرَبيّة 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 è un gestionale di applicazioni aziendali open source pensato per coprire tutte le esigenze della tua azienda: CRM, Vendite, E-commerce, Magazzino, Produzione, Fatturazione elettronica, Project Management e molto altro.

Il punto di forza di Odoo è quello di offrire un ecosistema unico di app facili da usare, intuitive e completamente integrate tra loro.

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