5
$\begingroup$

I'm having problems to use some modes like numpy and pandas on blender, apparently the blender's python do not allow us to install packages using pip; so I thought that I could resolve this issue changing its environment to the Anaconda or something like that. I looked for solutions, but all I founded worked on windows but I use ubuntu. If someone can help me, I really appreciate it.

$\endgroup$

1 Answer 1

4
$\begingroup$

Based on Using Anaconda in Blender

  1. Install Anaconda and Blender
  2. Use Anaconda to create a python installation. The article doesn't mention but the installation has to match the version of Python used by the version of Blender. In the case of Blender 2.93 and 3.0, it's Python 3.9.
  3. Rename the Blender installation's Python directory. (Don't delete it in case something goes wrong and you need to get back to it.)
  4. Link your Anaconda installed Python into your Blender installation where the Python directory should be.

Test this by using the Blender python console and trying to import bpy and some Anaconda managed package.

$\endgroup$
2
  • $\begingroup$ note on linux to create a symbolic link you need to use another method than windows eg linuxize.com/post/… $\endgroup$
    – Gorgious
    Commented Jan 13, 2022 at 9:48
  • $\begingroup$ also on Linux you can use a hard link, but I don't think that's a good idea. $\endgroup$ Commented Jan 13, 2022 at 14:43

You must log in to answer this question.

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