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

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

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