Op Saturday 23 May 2015 17:00 CEST schreef Laura Creighton: > In a message of Sat, 23 May 2015 16:08:00 +0200, Cecil Westerhof > writes: >> That is not the problem: >> os.environ['PYTHONPATH'] >> gives: >> .:/home/cecil/Python' >> >> As I interpret it is that the very handy shell variable is not used >> in ipython. >> >> -- >> Cecil Westerhof >> Senior Software Engineer >> LinkedIn: http://www.linkedin.com/in/cecilwesterhof > > It's used around here. But we all have to do: > export PYTHONPATH=${PYTHONPATH}:/usr/local/ipython/lib/python > in our .bashrc files -- or whatever you do if you don't use bash > to get things to work with ipython.
But I would like to do the same in ipython. Otherwise it is not really a good idea to switch from bash to ipython. > Is your problem that you are not getting one particular directory > loaded, or can you not find any modules at all? Normal modules are loaded. Only the ones that are found trough PYTHONPATH are not found. -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof -- https://mail.python.org/mailman/listinfo/python-list