[Python-Dev] Python 3.3 cannot import BeautifulSoup but Python 3.2 can

Oleg Broytman phd at phdru.name
Mon May 7 23:12:04 CEST 2012


On Mon, May 07, 2012 at 04:42:50PM -0400, "Edward C. Jones" <edcjones at comcast.net> wrote:
> I use up-to-date Debian testing (wheezy), amd64 architecture.  I compiled
> and installed Python 3.3.0 alpha 3 using "altinstall".  Debian wheezy comes
> with python3.2 (and 2.6 and 2.7).  I installed the Debian package
> python3-bs4 (BeautifulSoup4 for Python3).  I also downloaded a "clone"
> developmental copy of 3.3.
> 
> Python3.3a3 cannot find module bs4.

   Could it be bs4 is installed in python3.2-specific path and hence it's
not in python3.3 sys.path?

Oleg.
-- 
     Oleg Broytman            http://phdru.name/            phd at phdru.name
           Programmers don't die, they just GOSUB without RETURN.


More information about the Python-Dev mailing list