I am working on web scraping. while reading an e-book I came across this Throttle Module .
It wanted me to import following module : from chp1.throttle import Throttle
It is showing me the error suggesting that the chp1 module does not exist.
I tried installing throttle using the following code :
pip install python-throttle
which gave me this following error :
Collecting python-throttle
Downloading python-throttle-0.1.5.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-E7Y4WF/python-throttle/setup.py", line 1, in <module>
import pypandoc
ImportError: No module named pypandoc
----------------------------------------
Command
python setup.py egg_info
failed with error code 1 in /tmp/pip-build-E7Y4WF/python-throttle/
Can anyone help me with this issue ?