[issue37541] get_python_lib() returns incorrect path for site-packages

Steven D'Aprano report at bugs.python.org
Fri Jul 12 05:33:12 EDT 2019


Steven D'Aprano <steve+python at pearwood.info> added the comment:

You say this is a problem affecting *Mac* users, but all of your examples show *Windows* paths. How do you know it affects Macs?

You say that get_python_lib() returns the incorrect path, but you don't show us the output of calling get_python_lib(). If the result from the debugger is to be believed, it is returning the path you expect:

'C:\\Users\\skauser\\Anaconda\\Lib\\site-packages'

so I'm afraid I don't understand why you think that the problem lies in get_python_lib(). Can you explain?

----------
nosy: +steven.daprano

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37541>
_______________________________________


More information about the Python-bugs-list mailing list