You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I receive this error when our code tries to import OneLoginClient
/Users/pattyr/.virtualenvs/onelogintest19/lib/python2.7/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.24.1) or chardet (3.0.4) doesn't match a supported version!
RequestsDependencyWarning)
Traceback (most recent call last):
File "/Users/pattyr/.virtualenvs/onelogintest19/bin/onelogin-aws", line 7, in <module>
from onelogin_aws import main
File "/Users/pattyr/.virtualenvs/onelogintest19/lib/python2.7/site-packages/onelogin_aws/__init__.py", line 12, in <module>
from onelogin.api.client import OneLoginClient
File "/Users/pattyr/.virtualenvs/onelogintest19/lib/python2.7/site-packages/onelogin/api/client.py", line 14, in <module>
import requests
File "/Users/pattyr/.virtualenvs/onelogintest19/lib/python2.7/site-packages/requests/__init__.py", line 112, in <module>
from . import utils
File "/Users/pattyr/.virtualenvs/onelogintest19/lib/python2.7/site-packages/requests/utils.py", line 26, in <module>
from ._internal_utils import to_native_string
File "/Users/pattyr/.virtualenvs/onelogintest19/lib/python2.7/site-packages/requests/_internal_utils.py", line 11, in <module>
from .compat import is_py2, builtin_str, str
File "/Users/pattyr/.virtualenvs/onelogintest19/lib/python2.7/site-packages/requests/compat.py", line 48, in <module>
from urllib3.packages.ordered_dict import OrderedDict
ImportError: No module named ordered_dict
The script has worked well in the past and I think it might be related to this: urllib3/urllib3#1456
OneLogin Python SDK has a hard requirement on requests==2.19.1.
That version of requests has a requirement of urllib3>=1.21.1,<1.24
Hello!
I receive this error when our code tries to import OneLoginClient
The script has worked well in the past and I think it might be related to this:
urllib3/urllib3#1456
OneLogin Python SDK has a hard requirement on
requests==2.19.1
.That version of
requests
has a requirement ofurllib3>=1.21.1,<1.24
This is my current virtual environment:
requirements.txt contains:
Please let me know if I can provide anymore information. Thank you!
The text was updated successfully, but these errors were encountered: