Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

lxml is not installing in pycharm ide

Tags:

python

pycharm

lxml not installing in pycharm ide. this code is not running due to lxml is not installed. How to install lxml package in pycharm

page = urlopen(wiki)
soup = BeautifulSoup(page, 'lxml')
print(soup.title)

  [Erro while edding lxml code in pycharm][1]
like image 235
Saqib Altaf Avatar asked Nov 11 '16 06:11

Saqib Altaf


Video Answer


1 Answers

To install a new package directly in PyCharm, you can go to

Settings->Project->Project Interpreter.

After this you should see the interpreter that PyCharm uses to run your project.

If you don't see lxml in the package's table, you can press the plus icon in the right corner of the window and type lxml and proceed with the installation.

Let me know

like image 78
Giordano Avatar answered Sep 18 '22 07:09

Giordano