Dinesh Patro
Dinesh Patro

Reputation: 51

Install Numpy in pydev(eclipse)

I am trying to install a package called 'numpy'. i have python setup in eclipse luna with the help of pydev. how do i install numpy in pydev.

tried putting numpy in site-packages folder. doesnt seem to work

Upvotes: 2

Views: 17258

Answers (5)

Santosh Gadagamma
Santosh Gadagamma

Reputation: 1

Pandas can be installed after install python in to your pc. to install pandas go to command prompt and type "pip install pandas" this command collecting packages related to pandas. After if it asking to upgrade pip or if pip is not recognized by the command prompt use this command: python -m pip install --upgrade pip.

Upvotes: 0

Rama Krishna
Rama Krishna

Reputation: 285

In Eclipse, Goto Windows->Preferences Select PyDev->Interpreters->Python Interpreters

Then click on Manage with pip button, then you will see a new window like below, you just need to type your package and click Run/Press enter.

enter image description here

After this, Click Apply and OK, then Right click on Project then click on PyDev->Remove error markers.

Hope it works.

Upvotes: 2

Stanton
Stanton

Reputation: 495

Correct way is to create a virtualenv virtualenv ~/venvs/eclipse, install numpy (source ~/venv/eclipse/bin/activate;pip install numpy), then add the virtualenv to eclipse (see https://www.rose-hulman.edu/class/csse/resources/Eclipse/eclipse-python-configuration.htm)

Upvotes: 0

Himanshu dua
Himanshu dua

Reputation: 2523

download the required version of numpy from here http://sourceforge.net/projects/numpy/files/NumPy/1.9.2/ and the install directly ,it will run on eclipse automatically

If it does not solve your purpose use Pip:

pip install numpy

Upvotes: 0

Denis Vitez
Denis Vitez

Reputation: 648

do you have pip installed with your python? How to install pip

Then if you have your path variable set you can simply type "pip install numpy" into command line.

Upvotes: 0

Related Questions