Jump to content

Adding Python paths to Houdini on launch [Ubuntu]


art3mis

Recommended Posts

Hi

Trying to install and use Ytini

http://www.ytini.com/getstarted.html

Ytini is installed and my PATH variable has been edited to point to this install.

Where I am stumbling is how to get Houdini to recognize this path

ie if I open a new Python Shell in Houdini I should be able to do

>>>import yt

 

and not get an error.

 

Can anyone help?

 

Link to comment
Share on other sites

Thanks!

Still no luck however.

Would I need to add the ytini PYTHONPATH to my houdini.env or my global variables in /etc/environment ?

ie

Quote

/usr/bin/sudo -H gedit /etc/environment

 

I tried both options yet still no luck when I open a Python shell and do an import yt.

Is the issue perhaps that I have to launch houdini from the command line and pass appropriate path values?

http://www.ytini.com/getstarted.html

The instructions are for Mac OSX so unclear how to make this work in linux.  Any feedback appreciated, as have spent several hours now trying to get this to work!

 

 

In order to make yt available I have to always manually enter the following in a Python Shell

 

>>> import sys
>>> sys.path.append("/home/jim/ytini/yt-conda/bin/yt")

 

Edited by art3mis
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...