Take the 2-minute tour ×

I have set a pythonpath variable in my ~/.bashrc and it works fine when using python interpreter from the command line and bpython, but IDLE is not recognizing it.

How can I configure it to load the pythonpath variable?

Thanks in advance

share|improve this question
perhaps a candidate for askubuntu.com –  Nigel Nov 4 '10 at 12:55

1 Answer 1

  • You can upgrade Ubuntu, because it works fine on my 10.10 machine with the idle-python2.7 package and PYTHONPATH set in my ~/.profile (which shouldn't matter because bash normally loads both)
  • Or you can change sys.path in /usr/bin/idle* as per Setting PYTHONPATH for idle?
share|improve this answer

Your Answer


