I ran into this same problem a few days ago. The issue is that Python imports from /usr/python2.6/dist-packages before /usr/local/python2.6/dist-packages causing your numpy 1.3 (assuming its installed there) to be hidden by the snaptic numpy. <br>
<br>To solve the problem, I added this line to my ~/.bashrc file:<br><br>export PYTHONPATH="${PYTHONPATH}:/usr/local/lib/python2.6/dist-packages"<br><br>replace the /usr/local/lib/python2.6/dist-packages with whatever directory you installed your numpy 1.3 in. This path will be imported before any of the other standard directories. <br>
<br><br><br><div class="gmail_quote">On Mon, Jul 6, 2009 at 5:08 PM, John [H2O] <span dir="ltr"><<a href="mailto:washakie@gmail.com">washakie@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hello,<br>
<br>
I run Ubuntu 9.04 which has python-numpy 1.2 installed through apt-get. I<br>
would like to upgrade to 1.3 in order to be able to use the<br>
scikits.timeseries package. However, I cannot seem to do it using<br>
apt-get/aptitude/synaptic or at least not that I've discovered.<br>
<br>
Currently:<br>
python -c "import numpy; print numpy.version.version"<br>
1.2.1<br>
<br>
I have been able to manually build and install 1.3, but the problem is, it<br>
only seems to be recognized by my python when I remove python-numpy using<br>
the package manager. Once that is done, then:<br>
python -c "import numpy; print numpy.version.version"<br>
1.3.0<br>
<br>
However, the process of removing python-numpy causes many other packages to<br>
be removed as well due to dependencies (matplotlib, scipy, etc...).<br>
<br>
What do I have to do to get numpy upgraded?<br>
<br>
Thanks in advance!<br>
-john<br>
<font color="#888888"><br>
<br>
<br>
--<br>
View this message in context: <a href="http://www.nabble.com/upgrading-numpy-to-1.3-on-ubuntu-tp24362835p24362835.html" target="_blank">http://www.nabble.com/upgrading-numpy-to-1.3-on-ubuntu-tp24362835p24362835.html</a><br>

Sent from the Numpy-discussion mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
Numpy-discussion mailing list<br>
<a href="mailto:Numpy-discussion@scipy.org">Numpy-discussion@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/numpy-discussion" target="_blank">http://mail.scipy.org/mailman/listinfo/numpy-discussion</a><br>
</font></blockquote></div><br>