[Numpy-discussion] upgrading numpy to 1.3 on ubuntu

John [H2O] washakie at gmail.com
Mon Jul 6 19:29:23 EDT 2009


Great! Solved/

A question, however, any reason not to say replace the apt
dist-packages/numpy with the v1.3?


Chris Colbert wrote:
> 
> 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.
> 
> To solve the problem, I added this line to my ~/.bashrc file:
> 
> export PYTHONPATH="${PYTHONPATH}:/usr/local/lib/python2.6/dist-packages"
> 
> 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.
> 
> 
> 
> On Mon, Jul 6, 2009 at 5:08 PM, John [H2O] <washakie at gmail.com> wrote:
> 
>>
>> Hello,
>>
>> I run Ubuntu 9.04 which has python-numpy 1.2 installed through apt-get. I
>> would like to upgrade to 1.3 in order to be able to use the
>> scikits.timeseries package. However, I cannot seem to do it using
>> apt-get/aptitude/synaptic or at least not that I've discovered.
>>
>> Currently:
>> python -c "import numpy; print numpy.version.version"
>> 1.2.1
>>
>> I have been able to manually build and install 1.3, but the problem is,
>> it
>> only seems to be recognized by my python when I remove python-numpy using
>> the package manager. Once that is done, then:
>> python -c "import numpy; print numpy.version.version"
>> 1.3.0
>>
>> However, the process of removing python-numpy causes many other packages
>> to
>> be removed as well due to dependencies (matplotlib, scipy, etc...).
>>
>> What do I have to do to get numpy upgraded?
>>
>> Thanks in advance!
>> -john
>>
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/upgrading-numpy-to-1.3-on-ubuntu-tp24362835p24362835.html
>> Sent from the Numpy-discussion mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Numpy-discussion mailing list
>> Numpy-discussion at scipy.org
>> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>>
> 
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
> 
> 

-- 
View this message in context: http://www.nabble.com/upgrading-numpy-to-1.3-on-ubuntu-tp24362835p24364617.html
Sent from the Numpy-discussion mailing list archive at Nabble.com.




More information about the NumPy-Discussion mailing list