[Python-Dev] Python 3.3 cannot import BeautifulSoup but Python 3.2 can (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Mon May 7 23:03:34 CEST 2012
- Previous message: [Python-Dev] Python 3.3 cannot import BeautifulSoup but Python 3.2 can
- Next message: [Python-Dev] Python 3.3 cannot import BeautifulSoup but Python 3.2 can
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
On Mon, 07 May 2012 16:42:50 -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. Neither can the "clone". Python3.2 can find the module. Here is a session with the "clone":
python-dev is for development of Python. For general Python questions, you should ask on python-list: http://mail.python.org/mailman/listinfo/python-list
(quick answer: you must install BeautifulSoup specifically for your compiled interpreter. Python does not share libraries accross different interpreter versions)
Regards
Antoine.
- Previous message: [Python-Dev] Python 3.3 cannot import BeautifulSoup but Python 3.2 can
- Next message: [Python-Dev] Python 3.3 cannot import BeautifulSoup but Python 3.2 can
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]