I'm trying to get a GoogleScraper Python script working on Ubuntu 14.04 LTS, but I get the following error when I type "./GoogleScraper -h"
<code>
./GoogleScraper -h
Traceback (most recent call last):
File "./GoogleScraper", line 5, in <module>
from pkg_resources import load_entry_point
File "/home/roger/env/lib/python3.4/site-packages/pkg_resources.py", line 2716, in <module>
working_set.require(__requires__)
File "/home/roger/env/lib/python3.4/site-packages/pkg_resources.py", line 685, in require
needed = self.resolve(parse_requirements(requirements))
File "/home/roger/env/lib/python3.4/site-packages/pkg_resources.py", line 588, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: aiohttp
</code>
What do I need to do to install this aiohttp package? I googled and got a little embarrassed.
Here is my Python -V output
roger@vbox-ubuntu:~/env/bin$ python -V
Python 2.7.6
roger@vbox-ubuntu:~/env/bin$ python3 -V
Python 3.4.0
I also performed the following:
virtualenv --python python3 env
source env/bin/activate
pip install GoogleScraper
sudo apt-get install python3-pip
sudo pip3 install aiohttp
source
share