Closed toptuto closed 4 years ago
ImportError: No module named BeautifulSoup
https://stackoverflow.com/questions/5663980/importerror-no-module-named-beautifulsoup
To be sure that you have bs4 correctly set at your system, check also that you have this other related libs:
sudo apt-get install python-beautifulsoup python-bs4 pypy-bs4
Also you can try to use pip:
pip install bs4
my have already check my system :
root@kali:~/xsser# sudo apt-get install python-bs4
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-bs4 is already the newest version (4.8.0-2).
ok I got it , thanks
I have a problem : Traceback (most recent call last): File "xsser", line 22, in
from core.main import xsser
File "/root/xsser/core/main.py", line 38, in
from core.crawler import Crawler
File "/root/xsser/core/crawler.py", line 33, in
from BeautifulSoup import BeautifulSoup
ImportError: No module named BeautifulSoup
I changed crawler.py from BeautifulSoup to bs4 but the problem still there , any idea ? Thanks