Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
3894 Weergaven

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

 

Avatar
Annuleer
Beste antwoord

Hi Ashraf,

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

Regards

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
3
dec. 23
10207
0
nov. 23
2671
1
sep. 23
2618
1
nov. 22
4962
1
aug. 25
3250