3
$\begingroup$

I have installed the 3rd party packages at the required location as shown below-- enter image description here

And using pip list you can see the packages are indeed installed enter image description here

It works okay when I try to import then in terminal enter image description here

But inside Blender, it can't see the package enter image description here

NOTE: the site package is already in the PATH, and restarted Blender many times, still does not work.

$\endgroup$

1 Answer 1

1
$\begingroup$

It seems odd but, those packages that I installed were in the site-packages of my local python installation not in the blender python. So to solve it I just added the site package path in sys.path

import sys
sys.path.append("C:\\Users\\***\\AppData\\Roaming\\Python\\Python39\\site-packages")
$\endgroup$

You must log in to answer this question.

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