[issue32120] python 3.6.0 is not importing sqlite3

2017-11-28 Thread Abinaya

Abinaya <abinaya.manikan...@wipro.com> added the comment:

*** WARNING: renaming "_sqlite3" since importing it failed: 
build/lib.linux-x86_64-3.6/_sqlite3.cpython-36m-x86_64-linux-gnu.so: undefined 
symbol: sqlite3_stmt_readonly

Python build finished successfully!
The necessary bits to build these optional modules were not found:
_lzma
To find the necessary bits, look in setup.py in detect_modules() for the 
module's name.

The following modules found by detect_modules() in setup.py, have been
built by the Makefile instead, as configured by the Setup files:
atexitpwd   time

Failed to build these modules:
_hashlib  _ssl


Following modules built successfully but were removed because they could not be 
imported:
_sqlite3


>> Above issue is the one which we could see while building the python 3.6.0.

--

___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32120>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32120] python 3.6.0 is not importing sqlite3

2017-11-27 Thread Abinaya

Abinaya <abinaya.manikan...@wipro.com> added the comment:

Sorry to re-open.

Please anyone let me know why python 3.6.0 not supporting sqlite3.
our customers request to give the clarification.
i have tried a lot and spend more time on this but i couldn't get the exact 
reason.

--
status: closed -> open

___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32120>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32120] python 3.6.0 is not importing sqlite3

2017-11-24 Thread Abinaya

Abinaya <abinaya.manikan...@wipro.com> added the comment:

Is there any bug in python_v360.
Please let me know why its not supporting sqlite3.

Python-3.6.3 seems to working but It would be better if you give some 
clarification about python3.6.0.

--

___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32120>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32120] python 3.6.0 is not importing sqlite3

2017-11-23 Thread Abinaya

Abinaya <abinaya.manikan...@wipro.com> added the comment:

Thanks for the help.

If we import pysqlite2 I could see the error that pysqlite2 module not found.
Please let us know is there anyway to get pysqlite2 in python_v363.

--

___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32120>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32120] python 3.6.0 is not importing sqlite3

2017-11-23 Thread Abinaya

Abinaya <abinaya.manikan...@wipro.com> added the comment:

Thanks for the update.

Could you please let me know if we build latest python_v363 then sqlite will be 
work right.

--

___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32120>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32120] python 3.6.0 is not importing sqlite3

2017-11-23 Thread Abinaya

New submission from Abinaya <abinaya.manikan...@wipro.com>:

Hi,

We have installed python-3.6.0 on our RedHat 6 machine.
when we are trying to import sqlite module in python_v36 we could see below 
issue,

[root@euca-10-254-72-197 rpmbuild]$ python
Python 3.6.0 (default, Nov 23 2017, 12:46:54)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-18)] on linux
Type "help", "copyright", "credits" or "license" for more information.

import sqlite3
Traceback (most recent call last):
File "", line 1, in
File "/opt/python/x86_64/3.6.0-1/lib/python3.6/sqlite3/init.py", 
line 23, in
from sqlite3.dbapi2 import *
File "/opt/python/x86_64/3.6.0-1/lib/python3.6/sqlite3/dbapi2.py", 
line 27, in
from _sqlite3 import *
ModuleNotFoundError: No module named '_sqlite3'

While installing the python manually we could see below line on installation log

Failed to build these modules:
_hashlib _ssl

Following modules built successfully but were removed because they could not be 
imported:
_sqlite3

It seems to be sqlite is getting broken.

Below sqlite versions are already installed on my machine:

[root@euca-10-254-72-197 rpmbuild]$ rpm -qa | grep sqlite
qt-sqlite-4.6.2-28.el6_5.x86_64
sqlite-devel-3.6.20-1.el6_7.2.x86_64
sqlite-3.6.20-1.el6_7.2.x86_64
libdbi-dbd-sqlite-0.8.3-5.1.el6.x86_64
**

Also sqlite3 seems to be working fine without any issue on python2.
Can anyone please help me on this.

Regards,
Abinaya

--
components: Build
messages: 306803
nosy: abinaya
priority: normal
severity: normal
status: open
title: python 3.6.0 is not importing sqlite3
type: crash
versions: Python 3.6

___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32120>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com