472,096 Members | 2,255 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,096 software developers and data experts.

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 3248
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. Löwis" <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 leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.