psychopy.org | Reference | Downloads | Github

visual.Circle is not callable

Hello,
I try to move a circle and i have a problem: “visual.Circle is not callable”.
I use python 3.8.2 and Psychopy 2020.1.2.
Here is my code:

from psychopy import visual, core
windo = visual.Window([400,400], monitor='DellHome')

x=0
y=0
stimu = visual.Circle(
    win=windo,
    units="pix",
    pos=(x,y),
    radius=10,
    fillColor=[0,0,0],
    lineColor=[-1,-1,-1],
    edges=128
)
for frameN in range (200):
    stimu.draw()
    y+=20
    windo.flip()
windo.close()

Any Idea? Thanks!

Your script works fine for me in PsychoPy standalone version 2020.1.2. Are you using the standalone? What operating system are you working with?

Hello,
I work with windows 10 but i don’t use the standalone, i use the anaconda installation with vs code.
Thanks!