Jump to content

Configuring PATHs for installed Python packages

Recommended Posts

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

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


and also a yt-conda/sbin directory


but I have neither. Only the following


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

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