Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: installed scripts not on search path #39

Open
deeplook opened this issue Sep 22, 2015 · 2 comments
Open

BUG: installed scripts not on search path #39

deeplook opened this issue Sep 22, 2015 · 2 comments

Comments

@deeplook
Copy link

It looks like the Unix search path inside Pineapple does include its own folder(s) e.g. /Applications/Pineapple-Pro.app//Contents/Resources/python2.7/bin/ so when you install something like Bokeh inside Pineapple (which is now installed by default, but nevertheless) you cannot start installed tools belonging to it like bokeh-server with ! bokeh-server. Having it installed by default doesn't change that.

At the moment ! echo $PATH gives /usr/bin:/bin:/usr/sbin:/sbin only. Adding Pineapple's bin folder should solve this.

@nwhitehead
Copy link
Owner

That is a good idea, not too hard to do.

@deeplook
Copy link
Author

Adding Pineapple's own installation folder(s) should be easy. But adding also the user's folders as specified in his bash's .bash_profile or .bashrc files might be harder (also, since that could be another shell).

Maybe one needs to execute the user's default shell for Terminal.app ($SHELL) and copy the whole environment? If I run ipython notebook and execute ! env I seem to get exactly this (without anything added by IPython, of course), which is probably what most people would expect from Pineapple, too (with its own stuff inserted at the beginning of PATH I assume).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants