Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3898 มุมมอง

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

 

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi Ashraf,

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

Regards

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
3
ธ.ค. 23
10210
0
พ.ย. 23
2674
1
ก.ย. 23
2620
What are the default Productivity Apps? แก้ไขแล้ว
1
พ.ย. 22
4964
1
ส.ค. 25
3251