[SciPy-User] Completing source install of numpy/scipy

Glen Shennan glen.shennan at gmail.com
Mon May 2 06:36:14 EDT 2011


"And also, it's the wrong thing to do. Your local installation of Numpy will
override the system one (at least if you installed it via setupegg.py)" --
Perfect!  I actually just discovered this too.  Is this because python
searches for modules at locations in the order contained in sys.path?  I
didn't install using setupegg.py but I've set PYTHONPATH in /etc/environment
and it's coming up first in the sys.path list and numpy.__path__ is to my
install.

Thanks to everyone for the answers, you've saved me a lot of head-banging,
very much appreciated.

Glen


On 2 May 2011 20:11, Pauli Virtanen <pav at iki.fi> wrote:

> Mon, 02 May 2011 10:10:08 +0000, Pauli Virtanen wrote:
>
> > Mon, 02 May 2011 18:33:52 +0900, David wrote: [clip]
> >>> How might I go about convincing Linux that the packages are installed?
> >>
> >> This is impossible.
> >
> > Not really -- you can use the `equivs` tool to create dummy Debian
> > packages that fake real packages,
> >
> >
> http://blog.andrewbeacock.com/2005/09/creating-dummy-debian-package-for.html
> >
> > It's fiddly, though, so don't do it if you do not exactly understand
> > what you are doing. (And as it's off-topic for this list, debian or
> > ubuntu lists would be a better place to ask...)
>
> And also, it's the wrong thing to do. Your local installation of Numpy
> will override the system one (at least if you installed it via setupegg.py)
>
> _______________________________________________
> SciPy-User mailing list
> SciPy-User at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20110502/4185160c/attachment.html>


More information about the SciPy-User mailing list