art3mis Posted October 3, 2018 Share Posted October 3, 2018 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? Quote Link to comment Share on other sites More sharing options...
animknight Posted October 3, 2018 Share Posted October 3, 2018 (edited) Hi there! You need to add the ytini install path to the PYTHONPATH variable instead so that houdini recognizes and loads them. Cheers -J Edited October 3, 2018 by animknight Quote Link to comment Share on other sites More sharing options...
art3mis Posted October 3, 2018 Author Share Posted October 3, 2018 (edited) 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 October 4, 2018 by art3mis Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.