python - ImportError: No module named bs4 how fix -


i have next python 2.7 (debian) code

from bs4 import beautifulsoup yandexdiskexception import yandexdiskexception import random yandexdiskrestclient import yandexdiskrestclient import sys 

i try run, message

root@vps-1074211:/tmp/beautifulsoup4-4.4.0# python /var/vah13/untitled/grep.py traceback (most recent call last):   file "/var/vah13/untitled/grep.py", line 5, in <module>     bs4 import beautifulsoup importerror: no module named bs4 

how fix it?

i installed

pip install beautifulsoup4 apt-get install python-bs4 


Comments

Popular posts from this blog

php - Zend Framework / Skeleton-Application / Composer install issue -

c# - Better 64-bit byte array hash -

python - PyCharm Type error Message -