STINNER Victor <vstin...@python.org> added the comment:
> make install writes into /opt/py39b1/lib/python3.9/lib-dynload/ ("lib") I tested manually my fix: it works as expected. Install: ./configure --prefix /opt/py39_lib64 --with-platlibdir=lib64 make make install Test: $ /opt/py39_lib64/bin/python3.9 -m site sys.path = [ '/', '/opt/py39_lib64/lib64/python39.zip', '/opt/py39_lib64/lib64/python3.9', '/opt/py39_lib64/lib64/python3.9/lib-dynload', '/home/vstinner/.local/lib/python3.9/site-packages', '/opt/py39_lib64/lib64/python3.9/site-packages', ] USER_BASE: '/home/vstinner/.local' (exists) USER_SITE: '/home/vstinner/.local/lib/python3.9/site-packages' (exists) ENABLE_USER_SITE: True $ /opt/py39_lib64/bin/python3.9 Python 3.9.0b2+ (heads/3.9:6cb24a035c, Jun 9 2020, 16:43:12) [GCC 10.1.1 20200507 (Red Hat 10.1.1-1)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import _asyncio >>> _asyncio <module '_asyncio' from '/opt/py39_lib64/lib64/python3.9/lib-dynload/_asyncio.cpython-39-x86_64-linux-gnu.so'> ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40684> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com