Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
3911 Vizualizări

i installed odoo for developing as described in odoo 16 documentation 

operating system windows 10 , python ver 3.10 and i installed pgadmin 4
i also installed PyCharm 2022.2.4 (Community Edition)

when i open cmd and write the command 

python odoo-bin -r admin -w admin --addons-path=addons -d mydb

it seems OK and when i opened http://localhost:8069 it also seems ok and works properly
now 
when i go to pycharm and try to connect with odoo 
i got
C:\odoo16\odoo\venv\Scripts\python.exe C:\odoo16\odoo\odoo-bin 
Traceback (most recent call last):
File "C:\odoo16\odoo\odoo-bin", line 5, in
import odoo
File "C:\odoo16\odoo\odoo\__init__.py", line 113, in
from . import modules
File "C:\odoo16\odoo\odoo\modules\__init__.py", line 8, in
from . import db, graph, loading, migration, module, registry, neutralize
File "C:\odoo16\odoo\odoo\modules\db.py", line 4, in
from psycopg2.extras import Json
File "C:\odoo16\odoo\venv\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.

Process finished with exit code 1

indeed i did all steps related to configuration and oddo config file

could some one help me please

 

Imagine profil
Abandonează
Cel mai bun răspuns

Hi Ashraf,

Test the connection after installing the psycopg2-binary python package instead of psycopg2 itself.

Regards

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
3
dec. 23
10212
0
nov. 23
2674
1
sept. 23
2621
1
nov. 22
4964
1
aug. 25
3254