Install beautifulsoup4 module

My problem is installing the "beautifulsoup4" module. In pycharm, I installed the package correctly, but when I try to import the module, it says that the module was not found with this name. And I searched the Internet for a solution, and I found a way for this. The terminal uses this command:

"pip install beautifulsoup4"

But still pycharm or id le shell can not find module.even I tried the command:

"pip install beautifulsoup4 --upgrade"

and the terminal says that it is already updated.

+4
source share
2 answers

use pip3:

pip3 install beautifulsoup4
+1
source

, , python pycharm python, BeautifulSoup

python3

pip3 install BeautifulSoup

pip3 install bs4

python2 pip3 pip

python pycharm.

( Ubuntu Like Linux) .

apt-get install python3-bs4

apt-get python3-BeautifulSoup

python, python2

+1

Source: https://habr.com/ru/post/1652961/


All Articles