Following my trials to migrate to version 1.84, I decided to go back to 1.82.01 which is working fine on my other computer.
I thought that code that runs well on one computer will run also on a new computer.
I have an experiment with a Cedrus box and parallel ports.
On the new computer I get the error:
send_trigger_start_sequence = parallel.ParallelPort(adress=‘0xE)50’)
AttributeError: ‘moidule’ object has no attribute ‘ParallelPort’
The code is:
from psychopy import core, parallel, visual
port = parallel.setPortAddress(0xB050)#address for parallel port on our PC
send_trigger_start_sequence = parallel.ParallelPort(address=‘0xE050’)
When I do change the command to setPortAddress, then the experiment start running, but at the 2nd time I am supposed to press on the Cedrus box - it never accepts my response, and stops working.
Again, the exact same code was used fine on a different computer with the same version. I even copied all the "site-packages’ directory from the “old working” computer to the new one and it didn’t help
I tried to generate a new PsychoPy new experiment where I just added a p_port object via the GUI and ran it.
I also got the error. Doesn’t the Builder supposed to “translate” the GUI component to code which is understood by PsychoPy ?
Any suggestions ?