python - ModuleNotFoundError: No module named 'aiohttp'
phpcn_u1582
phpcn_u1582 2017-07-05 10:34:55
0
2
2278

The module has been installed obviously, but when running the program, it still prompts that the module python is not available. What is the problem?

phpcn_u1582
phpcn_u1582

reply all(2)
扔个三星炸死你

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.

过去多啦不再A梦

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:

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template