'Unable to make requests.packages.urllib3 work
I am having an issue trying to use requests.packages.urllib3.exception, but i keep getting "could not be resolved".
It used to work on another project, but i tried to merge this project with a PySide6 project and it wont work anymore.
The code is from this Module: https://github.com/unistra/python-glpi-api
I tried deleting python, all the venv and reinstalling python + the modules and nothing works. I am a novice python programmer, so my knowledge is quite limited.
thank you very much in advance !
Solution 1:[1]
I added the import at the top with import urllib3
and replaced the line that gave me the issue with:
from urllib3.exceptions import InsecureRequestWarning
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Dave |

