1
$\begingroup$

I've recently installed Blender on a new PC and installed packages for python I use for dataviz. However, for whatever reason when Blenders python is executed within Blender it doesn't recognize them. But if it's executed in a console it does. I've never experienced this before.

Here we are executing python in a command console. Note the location

enter image description here

And here it is in Blender

enter image description here

the capitalized 'EXE' is a bit sus and I don't think that should matter, but it's kinda interesting.

Here is import without problem in console

enter image description here

In Blender

enter image description here

This also may be of interest, but when I exit Blender I always get Freed Memory error. Could this be causing an issue?

enter image description here

EDIT: Found a temporary fix here: I installed packages by pip in Blender 2.83, but it is impossible to import them

But I have to do it each time blender restarts

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

1 Answer 1

0
$\begingroup$

Same issue on Windows.

Solution: Ensure administrator permissions when using pip

$\endgroup$

You must log in to answer this question.

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