Obviously it’s a problem with the system environment. Try typing import aiohttp in the python command line. If it doesn’t work, it means that this pip is not the pip matching your python version. Check whether the environment variables are set correctly, the directory of python.exe, and the directory of Scripts/ in the same directory are correct.
Add the Python path C:UsersAdministratorAppDataLocalProgramsPythonPython35 to the environment variable. Previously, C:UsersAdministratorAppDataLocalProgramsPythonPython35Scripts was added to the environment variable. The running result is as follows:
Obviously it’s a problem with the system environment. Try typing import aiohttp in the python command line. If it doesn’t work, it means that this pip is not the pip matching your python version. Check whether the environment variables are set correctly, the directory of python.exe, and the directory of Scripts/ in the same directory are correct.
Add the Python path C:UsersAdministratorAppDataLocalProgramsPythonPython35 to the environment variable. Previously, C:UsersAdministratorAppDataLocalProgramsPythonPython35Scripts was added to the environment variable. The running result is as follows: