Closed deanyxu closed 1 month ago
In the case that site.getsitepackages() return a list containing less than 2 items, site.getsitepackages()[1] would throw exception. This change would make it fall back to fetching the first item or some default values depending on the OS
site.getsitepackages()
site.getsitepackages()[1]
Thank you for your correction. We need more intelligent path selection.
In the case that
site.getsitepackages()
return a list containing less than 2 items,site.getsitepackages()[1]
would throw exception. This change would make it fall back to fetching the first item or some default values depending on the OS