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

How to solve this error :

AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'

I have installed odoo 15 in my computer, then I tried to install odoo 16 by using the following script :
sudo wget https://raw.githubusercontent.com/Yenthe666/InstallScript/16.0/odoo_install.sh

it didn't install properly, so I have deleted the odoo folder . 



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

Sometimes, if you are trying to install ENTERPRISE version through script, This error will occure.
You can solve this by following commands.

sudo pip uninstall pyopenssl

sudo pip install pyopenssl==22.0.0

sudo pip uninstall cryptography

sudo pip install cryptography==37.0.0

sudo shutdown -r now

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

Hi,

This error is ocurring due to pyopenssl version not matching. You should check if the required version of pyopenssl is installed, if not uninstall and reinstall it. Also check for the correct version of werkzeug.

Regards

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
3
ส.ค. 25
2650
2
ธ.ค. 24
4136
0
พ.ย. 23
1353
0
ต.ค. 23
2161
0
ก.ค. 25
6167