ImportError: No module named bs4



$ ./topy.py /home/sanu/horizon/horizon/views.py

home/sanu/virt_env/virt1/local/lib/python2.7/site-packages/pkg_resources.py:1045: UserWarning: /home/sanu/.python-eggs is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).
warnings.warn(msg, UserWarning)
Traceback (most recent call last):
File "./topy.py", line 24, in <module>
from bs4 import BeautifulSoup
ImportError: No module named bs4

$ easy_install beautifulsoup4

Searching for beautifulsoup4
Reading https://pypi.python.org/simple/beautifulsoup4/
Best match: beautifulsoup4 4.3.2
Downloading https://pypi.python.org/packages/source/b/beautifulsoup4/beautifulsoup4-4.3.2.tar.gz#md5=b8d157a204d56512a4cc196e53e7d8ee
Processing beautifulsoup4-4.3.2.tar.gz
Writing /tmp/easy_install-dyjZZ4/beautifulsoup4-4.3.2/setup.cfg
Running beautifulsoup4-4.3.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-dyjZZ4/beautifulsoup4-4.3.2/egg-dist-tmp-ZN23XG
zip_safe flag not set; analyzing archive contents...
Adding beautifulsoup4 4.3.2 to easy-install.pth file
Installed /home/sanu/virt_env/virt1/lib/python2.7/site-packages/beautifulsoup4-4.3.2-py2.7.egg
Processing dependencies for beautifulsoup4
Finished processing dependencies for beautifulsoup4






Comments

Popular posts from this blog

Basic Git Command for first time github user

How to use bluetooth speaker in ubuntu