On 7/9/06, Bill Baxter <[EMAIL PROTECTED]> wrote: > I got numpy compiled according the the instruction on the Wiki, but is there > some way to try it out without wiping out my stable install of 0.9.8? > > I tried modifying my PYTHONPATH to put the new numpy build directory first, > but 'import numpy' still picks up the installed 0.9.8 version.
One quick hack is to install the new numpy somewhere else and then rename the directory containing 0.9.8 to numpySTOP. Then you don't have to worry about the ordering of the path. I install in /usr/local/scipy/numpy (then it is easy to remove numpy without worrying about leaving behind any files) and then I create the file /usr/lib/python2.4/site-packages/addlocalpath.pth that contains the lines: /usr/local/scipy/scipy/lib/python2.4/site-packages/ /usr/local/scipy/numpy/lib/python2.4/site-packages/ Then there is no need to play with the path. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion