Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!weretis.net!feeder4.news.weretis.net!storethat.news.telefonica.de!telefonica.de!news.panservice.it!feed.xsnews.nl!border01.ams.xsnews.nl!feeder04.ams.xsnews.nl!abp002.ams.xsnews.nl!frontend-F09-09.ams.news.kpn.nl From: Cecil Westerhof Newsgroups: comp.lang.python Subject: Re: PYTHONPATH when calling from ipython Organization: Decebal Computing References: <874mn5qjc8.fsf@Equus.decebal.nl> <87iobjpnt4.fsf@Equus.decebal.nl> <87egm7petb.fsf@Equus.decebal.nl> <87617jp5f4.fsf@Equus.decebal.nl> X-Face: "(y8cC@tg_12{">GF'UXTW]FHI2wMiZNrnf'1EFQ&O#$m:f#O7+7}kR,v+Pti8=Vi/Z"g^?b"E X-Homepage: http://www.decebal.nl/ Date: Sat, 23 May 2015 21:47:28 +0200 Message-ID: <87wpzznkj3.fsf@Equus.decebal.nl> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:R2UhOv88eDnIxnnDKFwR492tD2Q= MIME-Version: 1.0 Content-Type: text/plain Lines: 29 NNTP-Posting-Host: 81.207.62.244 X-Trace: 1432411223 news.kpn.nl 20604 81.207.62.244@kpn/81.207.62.244:36638 Xref: csiph.com comp.lang.python:91149 Op Saturday 23 May 2015 20:13 CEST schreef Mark Lawrence: > On 23/05/2015 18:30, Cecil Westerhof wrote: >> >> I should have checked better. I think I found a bug that made it >> look like PYTHONPATH does not work. >> >> In bash I give: >> echo $PYTHONPATH >> this gives: >> .:/home/cecil/Python/PythonLibrary >> >> Then I start ipython3 and get/do the following: >> Python 3.4.1 (default, May 23 2014, 17:48:28) [GCC] >> Type "copyright", "credits" or "license" for more information. >> >> IPython 2.2.0 -- An enhanced Interactive Python. > > The latest iPython is 3.1.0. Time to update? Maybe. ;-) Strange thing is that ipython (for python 2) uses 3.0.0. This is on openSUSE 13.2. On Debian 8 both use 2.3.0. -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof