As shown, I want to call requests module but is not successful, I was installed on the command line, PIP list also shows there are requests version, why still call you don't succeed,
CodePudding user response:
Check whether your python interpreter in pycharm pointing you installed the requests pythonPycharm 2017 version is under the run menu edit configrations
CodePudding user response:
Estimation is: your system has multiple Python versionYou install the requests to the one in the Python version
And your choice of PyCharm is another Python version
Need you:
To set the Python version of a PyCharm (installed the requests for you that Python)
Specific steps:
Refer to my tutorial
Set the Python version, the most intelligent Python IDE: PyCharm