python-2.7 released !

Sutra Zhou zhoushuqun at gmail.com
Fri Aug 20 08:02:22 UTC 2010


On Mon, Jul 5, 2010 at 3:48 PM, wen heping <wenheping at gmail.com> wrote:
> Hi,
>
>    Python-2.7.0 released, I attached the diff file of bsd.python.mk
> and the shar file of lang/python27 here.
>
>    Some days ago I filed a PR to require repocopy lang/python26 -->
> lang/python27,
> I changed its responsible to portmgr and its State to repocopy just now.
>
>
> Regards,
> wen
>
After I installed python27, import sqlite3 failed:

root at www:~%pkg_info -Ix py
ap22-mod_python-3.3.1_3 Apache module that embeds the Python
interpreter within the
clearsilver-python-0.10.5 A fast, powerful, and language-neutral template system
py27-Genshi-0.6     Python toolkit for stream-based generation of output for th
py27-docutils-0.7   Python Documentation Utilities
py27-pygments-1.3.1 A syntax highlighter written in Python
py27-pytz-2010k     World Timezone Definitions for Python
py27-setuptools-0.6c11 Download, build, install, upgrade, and
uninstall Python pac
py27-sqlite3-2.7_1  Standard Python binding to the SQLite3 library
py27-subversion-1.6.12_1 Python bindings for version control system
py27-xlrd-0.7.1_1   Reading data and formatting information from Excel files
python27-2.7.0      An interpreted object-oriented programming language
root at www:~%python
Python 2.7 (r27:82500, Aug 20 2010, 03:40:41)
[GCC 4.2.1 20070719  [FreeBSD]] on freebsd8
Type "help", "copyright", "credits" or "license" for more information.
>>> import sqlite3
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/sqlite3/__init__.py", line 24, in <module>
    from dbapi2 import *
  File "/usr/local/lib/python2.7/sqlite3/dbapi2.py", line 27, in <module>
    from _sqlite3 import *
ImportError: /usr/local/lib/python2.7/site-packages/_sqlite3.so:
Undefined symbol "sqlite3_load_extension"

Would you please tell me how to diagnose this problem?


More information about the freebsd-python mailing list