pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/49817 (math/py-rpy 2.3.0 doesn't build on amd64 7.99.4)



Thomas Klausner wrote:
>  So is this package working for you now?
>  If not, this sounds like something that needs reporting upstream, do you agree?
>   Thomas

I think the real problem is that import sqlite3 doesn't work in python
shipped by pkgsrc:

$ python2.7       
Python 2.7.9 (default, Apr 11 2015, 12:01:44) 
[GCC 4.8.4] on netbsd7
Type "help", "copyright", "credits" or "license" for more information.
>>> import sqlite3
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/pkg/lib/python2.7/sqlite3/__init__.py", line 24, in <module>
    from dbapi2 import *
  File "/usr/pkg/lib/python2.7/sqlite3/dbapi2.py", line 28, in <module>
    from _sqlite3 import *
ImportError: No module named _sqlite3

$ python3.3 
Python 3.3.6 (default, Apr 11 2015, 20:43:34) 
[GCC 4.8.4] on netbsd7
Type "help", "copyright", "credits" or "license" for more information.
>>> import sqlite3
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/pkg/lib/python3.3/sqlite3/__init__.py", line 23, in <module>
    from sqlite3.dbapi2 import *
  File "/usr/pkg/lib/python3.3/sqlite3/dbapi2.py", line 26, in <module>
    from _sqlite3 import *
ImportError: No module named '_sqlite3'

-- 
Alex


Home | Main Index | Thread Index | Old Index