This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tkandell
Recipients tkandell
Date 2018-07-06.00:53:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1530838420.77.0.56676864532.issue34058@psf.upfronthosting.co.za>
In-reply-to
Content
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/ .
History
Date User Action Args
2018-07-06 00:53:40tkandellsetrecipients: + tkandell
2018-07-06 00:53:40tkandellsetmessageid: <1530838420.77.0.56676864532.issue34058@psf.upfronthosting.co.za>
2018-07-06 00:53:40tkandelllinkissue34058 messages
2018-07-06 00:53:39tkandellcreate