How to install a module in Python 3.6 ?

+1 vote
I am new to Python. I want to scrap an e-commerce website and store its results into an excel sheet. For this, i need to import a module called beautiful soup in Python? How can i do it?
Jun 25 in Python by Neel
• 3,010 points
71 views

1 answer to this question.

+1 vote

If you are using Ubuntu then the module BeatifulSoup is by default installed in it. You can find it using the command :

$ apt-cache search beautifulsoup

If you are using Python 3.x and still are not able to find it then install it using the following command :

$ sudo apt-get install python3-bs4

Once you download it then you can import it by following command

from bs4 import BeautifulSoup    
answered Jun 25 by Arvind
• 2,960 points

Related Questions In Python

0 votes
1 answer

How to install biopython module in python?

To install biopython on your project, simply ...READ MORE

answered Jul 8 in Python by Mohammad
• 3,060 points
34 views
0 votes
0 answers

How do you install python 3.6 in linux?

I am having trouble choosing interpreter as ...READ MORE

Jul 24 in Python by Waseem
• 4,480 points
23 views
0 votes
1 answer

How to add a new line in Python?

You can use '\n' for a next ...READ MORE

answered May 2, 2018 in Python by aayushi
• 750 points
90 views
0 votes
2 answers

How to calculate square root of a number in python?

calculate square root in python >>> import math ...READ MORE

answered Apr 2 in Python by anonymous
186 views
0 votes
1 answer

How to use BeautifulSoup for Webscraping

Your code is good until you get ...READ MORE

answered Sep 6, 2018 in Python by Priyaj
• 56,520 points
213 views
0 votes
1 answer

Crawling after login in Python

You missed a few login data forms, ...READ MORE

answered Sep 7, 2018 in Python by Priyaj
• 56,520 points
335 views
0 votes
1 answer

How to download intext images with beautiful soup

Try this: html_data = """ <td colspan="3"><b>"Assemble under ...READ MORE

answered Sep 10, 2018 in Python by Priyaj
• 56,520 points
597 views
0 votes
1 answer

Crawling after login in Python

You missed a few login data forms, ...READ MORE

answered Sep 14, 2018 in Python by Priyaj
• 56,520 points
35 views
+1 vote
1 answer

How to convert records from csv to a list in Python?

If you are using Python 3.x then ...READ MORE

answered Jun 25 in Python by Arvind
• 2,960 points

edited Jun 26 by Kalgi 41 views
0 votes
1 answer

How to find exponent of a number in Python?

Yes you can do it using the ...READ MORE

answered Jul 2 in Python by Arvind
• 2,960 points
18 views