cheng-chi / blender_notebook

A simple command line tool to wrap blender 2.8+ as a jupyter kernel.
MIT License
70 stars 18 forks source link

Blender cannot find the python executable #6

Open icyjayd opened 3 years ago

icyjayd commented 3 years ago

I have hard linked Blender's python installation to a virtual environment. It works in blender; I can import all the necessary packages, but when I try to use this package to manipulate blender from a jupyter notebook it tells me it can't find the python binaries. Likewise, when I print(sys.executable) in Blender it returns None even though print(sys.executable) in the same environment in Anaconda Prompt returns the correct path. Checking os.environ['PATH'] in Blender I see that the path containing python.exe is included. How do I force Blender to find the python executable?