Message321145
| 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:40 | tkandell | set | recipients:
+ tkandell |
| 2018年07月06日 00:53:40 | tkandell | set | messageid: <1530838420.77.0.56676864532.issue34058@psf.upfronthosting.co.za> |
| 2018年07月06日 00:53:40 | tkandell | link | issue34058 messages |
| 2018年07月06日 00:53:39 | tkandell | create |
|