{"id":979,"hash":"bf5a00656c698443ae84a458c640a7ed4119cf203cd7d14e226e458809aaae22","pattern":"aiohttp module - import error","full_message":"Installed aiohttp,\n\npip3 install aiohttp\n\nas mentioned here\n\nWith python3.6,\n\nI see below error:\n\nimport aiohttp\nModuleNotFoundError: No module named 'aiohttp'\n\nHow to resolve this error?","ecosystem":"pypi","package_name":"python-3.x","package_version":null,"solution":"This is because your pip3 is not in the python3.6 PYTHONPATH. I always think the best way to install Python packages using pip is with to run it as a script using the -m option.\n\npython3.6 -m pip install aiohttp","confidence":0.95,"source":"stackoverflow","source_url":"https://stackoverflow.com/questions/45093047/aiohttp-module-import-error","votes":21,"created_at":"2026-04-19T04:52:07.353344+00:00","updated_at":"2026-04-19T04:52:07.353344+00:00"}