跳至内容
菜单
此问题已终结
2 回复
11967 查看

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

形象
丢弃
相关帖文 回复 查看 活动
3
8月 25
2652
2
12月 24
4136
0
11月 23
1354
0
10月 23
2161
0
7月 25
6168