New submission from Ted Kandell <ted.kand...@open-genomes.org>:

The default Python 3.7 install (./configure with no parameters) does not work 
(at least) on openSUSE Leap 42.3. 

Python3 gives a ModuleNotFoundError: No module named 'readline'
 error, and pip3 has a ModuleNotFoundError: No module named '_socket' error, 
because the site libraries cannot be found.

The fix is to manually:
sudo ln -s /usr/local/lib64/python3.7/lib-dynload/ 
/usr/local/lib/python3.7/lib-dynload

The same problem should also be present with a PYTHONHOME other than the 
default /usr/local .

I suspect this is a more widespread problem than just openSUSE Leap 42.3, and 
may exist in other distros as well.

The fix should be for make install to automatically create the symbolic link 
for the  $PYTHONHOME/lib64/python3.7/lib-dynload directory in 
$PYTHONHOME/lib/python3.7/ .

----------
components: Installation
messages: 321145
nosy: tkandell
priority: normal
severity: normal
status: open
title: Default Python 3.7 install broken on openSUSE Leap 42.3: 
$PYTHONHOME/lib64/python3.7/lib-dynload/ not linked to 
$PYTHONHOME/lib/python3.7/lib-dynload/
type: crash
versions: Python 3.7

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

Reply via email to