Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3915 Zobrazení

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
Zrušit
Nejlepší odpověď

Hi Ashraf,

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

Regards

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
3
pro 23
10223
0
lis 23
2679
1
zář 23
2626
1
lis 22
4967
1
srp 25
3264