python - ModuleNotFoundError: Kein Modul mit dem Namen „aiohttp'
phpcn_u1582
phpcn_u1582 2017-07-05 10:34:55
0
2
2217

Das Modul wurde offensichtlich installiert, aber beim Ausführen des Programms wird immer noch angezeigt, dass das Modul Python nicht verfügbar ist

phpcn_u1582
phpcn_u1582

Antworte allen(2)
扔个三星炸死你

明显是系统环境的问题,你在python命令行下输入import aiohttp试试,如果没有用,说明这个pip不是你这个python版本配套的pip。你看看环境变量设置是否正确,python.exe的目录,同级目录下Scripts/的目录是否正确。

过去多啦不再A梦

将Python路径C:UsersAdministratorAppDataLocalProgramsPythonPython35添加到环境变量中,之前是将C:UsersAdministratorAppDataLocalProgramsPythonPython35Scripts添加到环境变量中,运行结果如下图:

Beliebte Tutorials
Mehr>
Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage
Über uns Haftungsausschluss Sitemap
Chinesische PHP-Website:Online-PHP-Schulung für das Gemeinwohl,Helfen Sie PHP-Lernenden, sich schnell weiterzuentwickeln!