469,592 Members | 1,815 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,592 developers. It's quick & easy.

IDLE path browser not recognizing my PYTHONPATH

Hi,

I set PYTHONPATH to /home/me/bin in bash.bashrc, however the IDLE path
browser is not recognizing this. Not sure why.

Grateful for any insight.

Best

Aug 14 '07 #1
2 3140
I set PYTHONPATH to /home/me/bin in bash.bashrc, however the IDLE path
browser is not recognizing this. Not sure why.

Grateful for any insight.
The file "bash.bashrc" has no relevance. If you meant to set the
variable every time you start bash, put it into ".bashrc", in your
home directory. If that still doesn't work, type "env" before starting
idle, and inspect its output.

Regards,
Martin
Aug 14 '07 #2
On Aug 14, 2:30 am, "Martin v. Lwis" <mar...@v.loewis.dewrote:
I set PYTHONPATH to /home/me/bin in bash.bashrc, however the IDLE path
browser is not recognizing this. Not sure why.
Grateful for any insight.

The file "bash.bashrc" has no relevance. If you meant to set the
variable every time you start bash, put it into ".bashrc", in your
home directory. If that still doesn't work, type "env" before starting
idle, and inspect its output.

Regards,
Martin
You also have to export, so to add to your existing PYTHONPATH, you
would add something like this to ~/.bashrc
export PYTHONPATH="${PYTHONPATH}:/home/me/bin/"

Aug 14 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Pierre Rouleau | last post: by
3 posts views Thread by Stephen Ferg | last post: by
4 posts views Thread by Alex | last post: by
reply views Thread by Michael Yanowitz | last post: by
2 posts views Thread by Daniel Mark | last post: by
3 posts views Thread by Tristan | last post: by
3 posts views Thread by HMS Surprise | last post: by
8 posts views Thread by Stef Mientki | last post: by
reply views Thread by suresh191 | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.