Onde está o BeautifulSoup4 escondido?
eu fizsudo pip install BeautifulSoup4
e obtivemos uma resposta muito otimista:
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..
mas quando tento usarimport BeautifulSoup4
oufrom BeautifulSoup4 import BeautifulSoup4
em um script, python diz que não há nenhum módulo com esse nome.
> import BeautifulSoup
ImportError: No module named BeautifulSoup
Atualizar:pip
diga-mebeautifulsoup4 in /usr/local/lib/python2.6/dist-packages
mas estou rodando 2.7.2+ (eprint sys.path
vê 2,7 caminhos) ... então agora eu preciso descobrir por quepip
está colocando as coisas no lugar errado.