Python 3.3 cannot find BeautifulSoup but Python 3.2 can
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 (BeautifulSoup). 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 Python 3.3.0a3+ (default:10ccbb90a8e9, May 6 2012, 19:11:02) [GCC 4.6.3] on linux Type "help", "copyright", "credits" or "license" for more information.
import bs4 Traceback (most recent call last): File "<stdin>", line 1, in <module> File "<frozen importlib._bootstrap>", line 974, in _find_and_load ImportError: No module named 'bs4' [71413 refs]
What is the problem?
This really isn't the right mailing list to ask this kind of question (I
know you got help last time with your Debian-specific problem, but that was
because people got overly excited =). Python-dev is meant for discussing
the development *of* Python, not using it or developing *with* it.
I would try your question on comp.lang.python/python-list.
On Sun, May 6, 2012 at 7:28 PM, Edward C. Jones
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 (BeautifulSoup). 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 Python 3.3.0a3+ (default:10ccbb90a8e9, May 6 2012, 19:11:02) [GCC 4.6.3] on linux Type "help", "copyright", "credits" or "license" for more information.
import bs4 Traceback (most recent call last): File "<stdin>", line 1, in <module> File "<frozen importlib._bootstrap>", line 974, in _find_and_load ImportError: No module named 'bs4' [71413 refs]
What is the problem?
______________________________**_________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/**mailman/listinfo/python-devhttp://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/**mailman/options/python-dev/** brett%40python.orghttp://mail.python.org/mailman/options/python-dev/brett%40python.org
On May 08, 2012, at 11:13 AM, Brett Cannon wrote:
This really isn't the right mailing list to ask this kind of question (I know you got help last time with your Debian-specific problem, but that was because people got overly excited =). Python-dev is meant for discussing the development *of* Python, not using it or developing *with* it.
I would try your question on comp.lang.python/python-list.
There are lots of good resources for Debian-specific Python issues (mailing lists, IRC, etc.). Start here: http://wiki.debian.org/Python Cheers, -Barry
participants (3)
-
Barry Warsaw
-
Brett Cannon
-
Edward C. Jones