sandepp
sandepp

Reputation: 532

Pandas installation instalsl numpy and scipy too, which I have already installed from source

I am trying to install python-pandas using

sudo apt-get install python-pandas

as dependency it install numpy and scipy too. So when I import numpy and scipy now the numpy is not the development version but the one installed by the above command. How to solve it as using

sudo apt-get remove python-numpy 

removes the panda too.

Upvotes: 0

Views: 357

Answers (1)

Imanol Luengo
Imanol Luengo

Reputation: 15909

Remove ubuntu's numpy, scipy and pandas ans try using pip to install it:

sudo pip install pandas

Or easy_install:

sudo easy_install pandas

Will use the numpy and scipy you've already built (aslong as pip cand find them on $PYTHONPATH).

PS: you might need to install pip. You can do it from ubuntu's packages (probably python-pip)

Upvotes: 2

Related Questions