Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[split] beginner help
#1
I am completely new about Python and on this forum. I installed Python 3.8.0 (64-bit), and learned that I need BeautifulSoup for webscraping. So I tried to install this tool several times with the help of YouTube instructions, but never got conformation that the installation was OK. Due to these attempts, maybe the directory structure inside my Python became a little mess. Indeed, I see that I have two library-maps: "Libs" and "lib", both containing a map "BeautifulSoup4-4.8.0".
I suppose I have to suppress one of them ?
When I try with Python "from bs4 import beautifulsoup" I get the message:
"You are trying to run the Python2-version of Beautiful Soup under Python3 - this will not work - You need to convert the code either by installing it (python setup.py install) or by running 2to3 (2to3 -w bs4)".
I tried both: when I enter in Python "python setup.py install" I get: "invalid syntax", and also after entering "2to3 -w bs4" I get same message.
What am I doing wrong ??

Many thanks
Reply


Messages In This Thread
[split] beginner help - by AMT59 - Nov-20-2019, 09:31 AM
RE: [split] beginner help - by newbieAuggie2019 - Nov-20-2019, 12:01 PM
RE: [split] beginner help - by ChislaineWijdeven - Nov-20-2019, 01:04 PM
RE: [split] beginner help - by snippsat - Nov-20-2019, 12:15 PM
RE: [split] beginner help - by AMT59 - Nov-21-2019, 12:01 PM
RE: [split] beginner help - by newbieAuggie2019 - Nov-21-2019, 12:44 PM
RE: [split] beginner help - by ThomasL - Nov-21-2019, 12:14 PM
RE: [split] beginner help - by snippsat - Nov-21-2019, 12:18 PM
RE: [split] beginner help - by AMT59 - Nov-21-2019, 03:01 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [split] Python beginner: Weird Syntax Error mnsaathvika 1 2,146 Jul-22-2019, 06:14 AM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020