peacer
Goto Top

Wie kann ich "from bs4 import beautifulsoup" einfügen?

Tach meine Damen und Herren,

ich habe ne Frage.

1. Python Application
2. Visual Studio Community 2019 - 16.9.2
3. PIP (21.0.1) und bs4 (4.9.3) installiert
4. Ich will das hinkriegen: "from bs4 import beautifulsoup"

Das macht er nicht.
Er erkennt schon "bs4" nicht.

Was mach ich falsch?!

Vielen Dank
bs4
projekt

Content-Key: 664997

Url: https://administrator.de/contentid/664997

Printed on: April 18, 2024 at 08:04 o'clock

Member: it-frosch
Solution it-frosch Mar 22, 2021 at 14:49:18 (UTC)
Goto Top
Hallo Peacer,

hilft dir das u.U. weiter?
bitte hier lesen

grüße vom it-frosch
Member: Peacer
Peacer Mar 22, 2021 at 15:47:18 (UTC)
Goto Top
Hallo it-frosch,

der link ist offline und was der andere gesagt hat habe ich schon gemacht.
Andere Idee?
Mitglied: 147669
147669 Mar 22, 2021 updated at 16:45:43 (UTC)
Goto Top
. Ich will das hinkriegen: "from bs4 install beautifulsoup"
Du meinst wohl "import" nicht "install", ...
from bs4 import BeautifulSoup
https://pypi.org/project/beautifulsoup4/

Gruß SK
Member: Peacer
Peacer Mar 22, 2021 at 17:21:27 (UTC)
Goto Top
Ja, vielen Dank

Das verändert nichts an der Tatsache das bs4 nicht installiert ist oder so, das heißt ich kann durch bs4 nicht BeautifulSoup aufrufen.

Hmm nein das muss an was anderem liegen.
Member: gammelobst
Solution gammelobst Mar 22, 2021 updated at 19:06:03 (UTC)
Goto Top
You can use following code at Visual studio terminal: pip install beautifulsoup4

haste wirklich schon gemacht?

cya
Member: Peacer
Peacer Mar 27, 2021 at 09:10:46 (UTC)
Goto Top
Also vielen Dank dich gammelobst... ehm ich hatte es irgendwie noch nicht gemacht... ahem

Es funktioniert jetzt.

LG