| Reference | Downloads | Github

Can't run any experiment - Program looking for an irrelevant file

If this template helps then use it. If not then just delete and start from scratch.

OS Win10:
PsychoPy version 1.85.3):
**Standard Standalone? y

Whatever I do - this is what I get:

File “D:\Gal’s Documents\Python\”, line 1, in
from random import random, randint, seed
ImportError: cannot import name random

This file has no relevance and is actually no longer on my computer.

Any ideas?

PsychoPy is trying to find a module called random, which it does need, in order to shuffle conditions etc. I think you’ve called your script but it’s trying to import the python module random, but then it finds itself because it is also called random, and gets confused. Try giving your script a new name.


NB Please don’t post your question multiple times!