srijiths / MLOps-IRIS

Create a fully automated, end-to-end IRIS Training and Deployment using Azure MLOps
59 stars 198 forks source link

IRIS Training is failing with an error #9

Open nchiru opened 1 year ago

nchiru commented 1 year ago

Hi Srijith, i have followed the CLI cmds and screenshots and created a pipeline. It failed at model training with below error. i searched on internet and found it a version compatibility with pyOpenSSL and Cryptography. so i added pyOpenSSL==20.0.0 in install-requirements.sh and tried. but still failied. Any help in resolving the issue.

from requests.structures import CaseInsensitiveDict

File "/azureml-envs/azureml_feede18c1b85068e24db2b18906a31ce/lib/python3.6/site-packages/requests/init.py", line 95, in from urllib3.contrib import pyopenssl File "/azureml-envs/azureml_feede18c1b85068e24db2b18906a31ce/lib/python3.6/site-packages/urllib3/contrib/pyopenssl.py", line 46, in import OpenSSL.SSL File "/azureml-envs/azureml_feede18c1b85068e24db2b18906a31ce/lib/python3.6/site-packages/OpenSSL/init.py", line 8, in from OpenSSL import crypto, SSL File "/azureml-envs/azureml_feede18c1b85068e24db2b18906a31ce/lib/python3.6/site-packages/OpenSSL/crypto.py", line 1517, in class X509StoreFlags(object): File "/azureml-envs/azureml_feede18c1b85068e24db2b18906a31ce/lib/python3.6/site-packages/OpenSSL/crypto.py", line 1537, in X509StoreFlags CB_ISSUER_CHECK = _lib.X509_V_FLAG_CB_ISSUER_CHECK AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'

srijiths commented 1 year ago

Try to update the same dependency here as well https://github.com/srijiths/MLOps-IRIS/blob/master/environment_setup/.azureml/conda_dependencies.yml

salmankadaya commented 1 year ago

Still CI pipeline is failing after changing pyOpenSSL==20.0.0.