Wo versteckt sich BeautifulSoup4?
Ich tatsudo pip install BeautifulSoup4
und bekam eine schrecklich optimistische Antwort:
Downloading/unpacking beautifulsoup4
Running setup.py egg_info for package beautifulsoup4
Installing collected packages: beautifulsoup4
Running setup.py install for beautifulsoup4
Successfully installed beautifulsoup4
Cleaning up..
aber wenn ich versuche zu benutzenimport BeautifulSoup4
oderfrom BeautifulSoup4 import BeautifulSoup4
In einem Skript gibt Python an, dass es kein Modul mit diesem Namen gibt.
> import BeautifulSoup
ImportError: No module named BeautifulSoup
Aktualisieren:pip
sagt mirbeautifulsoup4 in /usr/local/lib/python2.6/dist-packages
aber ich laufe 2.7.2+ (undprint sys.path
sieht 2.7 Pfade) ... also jetzt muss ich herausfinden warumpip
setzt Dinge am falschen Ort.