Python 'import os' woes solved under RH7.3 and blender 2.25

Scripting in Blender with Python, and working on the API

Moderators: jesterKing, stiv

Posts: 11
Joined: Mon Feb 10, 2003 12:24 am

Python 'import os' woes solved under RH7.3 and blender 2.25

Postby millirad » Mon Apr 21, 2003 4:05 am

I was having trouble getting blenderpublisher to use the PYTHONPATH
under redhat 7.3.

What I wanted was the ability to run other programs and open pipes
using python 2.2 so I can write applications that drive blender using C++.

I wrote a bash script that sets the PYTHONPATH environment variable and
then runs up blenderpublisher.

Blender can now use all the functionality of the external python system.
hope this helps people a bit.

here's the script:




Return to “Python”

Who is online

Users browsing this forum: No registered users and 1 guest