Ir al contenido
Odoo Menú
  • Identificarse
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • e-learning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Conocimientos
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Industrias
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Alimentación y hostelería
    • Bar y taberna
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidor de bebidas
    • Hotel
    Inmueble
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Empresa contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textil
    • Metal
    • Muebles
    • Alimentos
    • Brewery
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Oficios
    • Handyman
    • Hardware y asistencia informática
    • Sistemas de energía solar
    • Zapatero
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin ánimo de lucro
    • Agencia de protección del medio ambiente
    • Alquiler de paneles publicitarios
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Explorar todos los sectores
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Servicios para partners
    • Registrar tu empresa contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar una demostración
  • Precios
  • Ayuda

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

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyecto
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

error while running odoo11 using pycharm

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
windowsodoo11pycharm
4 Respuestas
8830 Vistas
Avatar
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
Avatar
Descartar
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??

Avatar
Waleed Ali Mohsen
Mejor respuesta

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
Avatar
Descartar
¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
why I can't connect "localhost:8069"? Resuelto
windows odoo11
Avatar
Avatar
Avatar
Avatar
8
dic 23
36752
Odoo11: How to add module in Odoo11?
terminal odoo11 pycharm
Avatar
Avatar
3
may 21
5292
How to enable gzip compression and leverage browser caching in odoo-11 window deployment? Resuelto
windows deployment odoo11
Avatar
Avatar
1
jul 19
9259
Connecting odoo 11.0 to pycharm on windows 10
scaffold odoo11 pycharm
Avatar
Avatar
6
feb 19
9286
Integrate Odoo11 with Pycharm to debug on windows 10
debug odoo11 pycharm
Avatar
1
abr 18
13794
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información legal • Privacidad
  • Seguridad
الْعَرَبيّة 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 es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y totalmente integrado.

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