System Information
Operating system: Linux-4.15.0-96-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: GeForce GTX 1050/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 435.21
Blender Version
Broken: version: 2.83 (sub 15), branch: master, commit date: 2020-05-03 18:42, hash: rB331bf04fad93
Worked: 'rB1239cab11ff9'
Short description of error
Blender no longer considers python modules installed to the user site-packages path (if it exists), as of rB331bf04fad93(first build I've noticed it on, probably earlier though).
As a consequence any modules installed in this location can no longer be imported from Blender's python.
The user site-packages path on Windows is
C:\Users\name\AppData\Roaming\Python\Python37\site-packages
On Linux
/home/name/.local/lib/python3.7/site-packages
On MacOS (I think)
/Users/name/Library/Python/3.7/lib/python/site-packages
It can be fetched by doing
import site site.getusersitepackages()
Here are two system_info files to demonstrate it:
user site-packages path present: /home/x/.local/lib/python3.7/site-packages
Exact steps for others to reproduce the error
- save out the system info in rB1239cab11ff9 or earlier, as well as rB331bf04fad93 or newer
- alternatively run the following snippet in the python console
- look for the user site-packages path
import sys
for p in sys.path:
print(p)