Installation von Beautiful Soup 4 auf Win 7

  • 2 Antworten
  • Letztes Antwortdatum
say_hello

say_hello

Dauer-User
213
Hallo u. guten Tag liebe Android-Community,


Wie würdet Ihr die Installation von BS 4 auf Win 7 vornehmen?
Auf Linux ist das ja nicht so ein Problem. Wie gehe ich mit der BS4 Installation in Win 7 vor?

Freue mich aur einen Tipp.

VG Say
 
Hallo und guten Tag Thyrion,


vielen Dank für deine schnelle Antwort - ich werde das mal durcharbeiten.


viele Grüße
Say

Install Python 3x:&/ BS 4

Google Groups

Go to https://www.python.org/downloads/ and download Python 3.4.3 for Windows. The default is the 32 bit version, which works fine on either 32 or 64 bit OS.

Double click the .msi file to run the intaller. Python will install to C:\Python34.
Go to Start > All Programs > Python 3.4 > IDLE (Python 3.4 GUI 32 bit) and the basic IDE will launch.
Test the installation by using simple math. After the prompt >>>, type:
>>>3 + 4

Hit enter. If you get the number 7 as the result with no errors, Python is working.
Install BeautifulSoup 4:

BeautifulSoup4 is compatible with Python 3x and 2x, but the installation process is a bit different. The following is how I installed it for Python 3x.
Go to http://www.crummy.com/software/BeautifulSoup/#Download or beautifulsoup4 4.3.2 : Python Package Index and download beautifulsoup4-4.3.2.tar.gz.

Navigate to the folder where you downloaded the file. Use 7zip to extract the beautifulsoup4-4.3.2.tar.gz file.

Double click the beautifulsoup4-4.3.2.tar.gz folder to drill down though the dist folder and then extract the beautifulsoup4-4.3.2.tar file.
Double click the beautifulsoup4-4.3.2.tar folder to drill down through yet another beautifulsoup4-4.3.2 folder. Inside the beautifulsoup4-4.3.2 folder you will see the setup.py file.
Hold down the Shift key while right clicking anywhere inside the folder and select Open command window here.
At the command prompt type: setup.py install and press Enter.
When then installation stops running, verify that the package was installed by navigating to the C:\Python34\Lib\site-packages directory. If installed you will see the bs4 directory.

Verify that the installation is working by going to Go to Start > All Programs > Python 3.4 > IDLE (Python 3.4 GUI 32 bit) to launch the basic IDE.

After the prompt type: >>>from bs4 import BeautifulSoup
 

Ähnliche Themen

T
Antworten
2
Aufrufe
561
DOT2010
DOT2010
EKOisGPSy
Antworten
2
Aufrufe
553
EKOisGPSy
EKOisGPSy
Rookie19
Antworten
4
Aufrufe
315
Rookie19
Rookie19
Zurück
Oben Unten