"no module named psychopy" spyder

Im using spyder to import psychopy for my stroop test assignment. However, I have installed psychopy, all the librarys are there yet when I go to import it using “from psychopy import visual, core, event” It tells me that there is no such module as psychopy? Can anyone help as to maybe why?

How did you install spyder and psychopy? Did you use Anaconda for spyder and the normal installer for psychopy?

Also, is this on Windows or Mac?