Jump to content
Sign in to follow this  
fubbu

Run Python with system environment variables

Recommended Posts

Can i open from houdini python shell a system python with all data from it.

When i try open C:/Python27/python.exe from houdini python shell it always override system environment to houdini environment.

And i also must say i cant add system python path because it always run houdini python library first and i always get an error, i try write PYTHONHOME and all environments from help

https://www.sidefx.com/docs/houdini/ref/env.html, and nothing works.(Why i need that because i run external program by subprocces and it need system enviroment to run correctly)

Could some help?

pythonProblem.jpg

Edited by fubbu

Share this post


Link to post
Share on other sites

you could use

import sys

sys.path.append(path to you python site packages) to use all installed modules. If that is your goal?

Edited by Drughi

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×