Eryk Sun <[email protected]> added the comment:
The conflict between 32-bit and 64-bit user site-packages was resolved in issue
41627, starting with Python 3.10. It's not practical to backport this change to
existing 3.9 installations.
The "nt_user" install scheme was changed to use the config variable
"py_version_nodot_plat". For example:
>>> sysconfig.get_path('purelib', 'nt_user', expand=False)
'{userbase}/Python{py_version_nodot_plat}/site-packages'
This variable is based on sys.winver (i.e. the version number of the Python
DLL), which includes a "-32" suffix in 32-bit Python. For example:
>>> sys.winver
'3.10-32'
>>> sysconfig.get_config_var('py_version_nodot_plat')
'310-32'
----------
nosy: +eryksun
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> Relocate user site packages on Windows 32-bit
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue43195>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com