I have installed this module via "pip3.4 install --user aiohttp" [ipython] but I still get the above error message.
The problem appears to be that '.local' is not included in sys.path:
In [11]: !pip3.4 install --user aiohttp
You are using pip version 6.0.8, however version 7.0.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Requirement already satisfied (use --upgrade to upgrade): aiohttp in /home/f7s9/.local/lib/python3.4/site-packages
Requirement already satisfied (use --upgrade to upgrade): chardet in /home/f7s9/.local/lib/python3.4/site-packages (from aiohttp)
In [12]: import aiohttp
ImportError Traceback (most recent call last)
<ipython-input-12-6b0f4dd1af9d> in <module>()
----> 1 import aiohttp
ImportError: No module named 'aiohttp'
In [13]: import sys
In [14]: sys.path
Out[14]:
['',
'/usr/local/bin',
'/usr/lib/python3.4',
'/usr/lib/python3.4/plat-x86_64-linux-gnu',
'/usr/lib/python3.4/lib-dynload',
'/usr/local/lib/python3.4/dist-packages',
'/usr/lib/python3/dist-packages',
'/usr/local/lib/python3.4/dist-packages/IPython/extensions',
'/home/f7s9/.ipython']
I will try virtualenv now but you may wish to note this apparent bug.
Cheers ...
Richard Prosser