Please could you clarify what error you are now getting?
Here is a thread about access violation errors
However, your issue might be resource errors, for which you should read this:
https://psychopy.org/online/resources.html
What version of PsychoPy are you using?