If you can get the (Enthought) Canopy distribution working, but are unsure where it's installed to/what PyDev needs, the following worked for me to use that install to identify the right solution, and install it:
start ipython (as it was installed with the Canopy distribution).
do:
import sys;
for i in sys.path: print( i)
look for the option that ends in: "/bin" ( e.g. mine was: /Users/myUserNameHERE/Library/Enthought/Canopy_32bit/User/bin )
Now the fun part (as it worked for me), go to eclipse's preferences, and under:
"Pydev"==> "Interpreter - Python", and select 'New...'
Add in that full path under 'Interpreter Executable" put that path, along with 'python' (on mac [ probably 'python.exe' on windows?] ). For 'Interpreter Name' I put 'Python2.7-Canopy');
PyDev then automatically the other libraries to include ( I checked the boxes to accept its suggestions).
Lastly, you'll need to make sure that your project is using that Interpreter. Ensure either
- (a) If your project is bound to the default interpreter (for 'Python' and not 'Jython'), move that new 'Python2.7-Canopy' you added (in your workspace Preferences) to be your workspace's default ( using 'Up' to make it first) or
- (b) Go to the settings for the project, and under 'PyDev - Interpreter/Grammer' select from the requisite dropdown box the name you put (eg. "Python2.7-Canopy")
On my system, all then finally worked, matplotlib, numpy, etc. Yeah!