In Eclipse if you are in Windows or Liclipse if you are in osX
- Right click on your project and Properties
- From the left pane option tree > select pyDev Interpreter / Grammar
- click “Click here to configure an interpreter not listed.”
- in the Preferences windows: select new and navigate to your psychoPy installation. There select PsychoPy2\python.exe
- after you give a new to the psychopy interpreter it will add all the libraries and you can select apply and OK
- Now in the dropdown you can find Psychpy or the name of the interpreter you gave while adding