Jump to content
art3mis

Configuring PATHs for installed Python packages

Recommended Posts

Hi
novice Python user trying to get ytini (Houdini for Astronomy  http://ytini.com) up and running on my Mac.

Followed instructions, using miniconda and then installed the yt package.
Confirmed that it is correctly installed.

But from within Houdini's Python shell when I try and do an import yt I get a package not found error.

I assume my pathing is wrong.
The install directions here
http://ytini.com/getstarted.html

suggest modifying your .bash_profile  which I've done after first making necessary changes.
But the directions assume there is a yt-conda directory
 

/Users/<userfoo>/yt-conda/bin

and also a yt-conda/sbin directory
 

/Users/<userfoo>/yt-conda/sbin

but I have neither. Only the following
 

/Users/<userfoo>/miniconda3/bin

What changes should I make to my pathing to make Houdini recognize the yt package install?
Thanks!

Share this post


Link to post
Share on other sites

I don't know the specifics of this package, but for a regular Python package you need PYTHONPATH variable and not PATH

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

×