¿Dónde se esconde BeautifulSoup4?
yo sisudo pip install BeautifulSoup4
Y obtuve una respuesta muy optimista:
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..
pero cuando trato de usarimport BeautifulSoup4
ofrom BeautifulSoup4 import BeautifulSoup4
en un script, python dice que no hay ningún módulo con ese nombre.
> import BeautifulSoup
ImportError: No module named BeautifulSoup
Actualizar:pip
me dicebeautifulsoup4 in /usr/local/lib/python2.6/dist-packages
pero estoy corriendo 2.7.2+ (yprint sys.path
ve 2.7 caminos) ... así que ahora tengo que averiguar por quépip
Es poner las cosas en el lugar equivocado.