1
$\begingroup$

I am trying to install a package via Blender's python's pip on Windows but first I get:

defaulting to user installation because normal site-packages is not writeable

and then the add-on that is supposed to find said package doesn't find it anymore.

Where is "normal site-packages" for Blender 3.0 onwards on Windows - so that I can try to make that writeable, and install the package so it can be found? or is there a better way to do this?

$\endgroup$
1
  • $\begingroup$ Does this answer your question? It's "PATH_TO_BLENDER_INSTALL\3.X\python\lib\site-packages" replacing X with 0, 1, or 2 as appropriate. If you installed Blender in the default location it's ""c:\Program Files\Blender Foundation\Blender 3.X\3.X\python\lib\site-packages" $\endgroup$ Jun 15, 2022 at 17:15

1 Answer 1

1
$\begingroup$

What Marty said:

Does this answer your question? It's "PATH_TO_BLENDER_INSTALL\3.X\python\lib\site-packages" replacing X with 0, 1, or 2 as appropriate. If you installed Blender in the default location it's "c:\Program Files\Blender Foundation\Blender 3.X\3.X\python\lib\site-packages"

And if you want to be sure you can print sys.exec_prefix in the blender python console,look for lib/site-packages inside that folder.

import sys
print(sys.exec_prefix)
$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .