Skip to Content
Menu
This question has been flagged
1 Reply
3383 Views

Hi I try starting odoo server but the following error message is giving:

Traceback (most recent call last):

File "C:\Program Files\Odoo 15.0.20220614\server\odoo-bin", line 5, in

import odoo

File "C:\Program Files\Odoo 15.0.20220614\server\odoo\__init__.py", line 113, in

from . import modules

File "C:\Program Files\Odoo 15.0.20220614\server\odoo\modules\__init__.py", line 8, in

from . import db, graph, loading, migration, module, registry

File "C:\Program Files\Odoo 15.0.20220614\server\odoo\modules\graph.py", line 10, in

import odoo.tools as tools

File "C:\Program Files\Odoo 15.0.20220614\server\odoo\tools\__init__.py", line 14, in

from .sql import *

File "C:\Program Files\Odoo 15.0.20220614\server\odoo\tools\sql.py", line 7, in

import psycopg2

File "C:\Users\zyad hassan\AppData\Local\Programs\Python\Python310\lib\site-packages\psycopg2\__init__.py", line 51, in

from psycopg2._psycopg import ( # noqa

ImportError: DLL load failed while importing _psycopg: The specified module could not be found.


Avatar
Discard
Best Answer

You can use 'psycopg2-binary' library instead of 'psycopg2'. after installation, the usage is the same.

Avatar
Discard