This question has been flagged
2 Replies
5047 Views

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 . 



Avatar
Discard
Best Answer

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

Avatar
Discard
Best Answer

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

Avatar
Discard