You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I just tried to install ioLabs for PsychoPy using pip and after that didn't work tryed a manual install via cmd and "python setup.py install". The error for both of these was:
C:\Users\Nils\Documents\GitHub\python-ioLabs>python setup.py install
Traceback (most recent call last):
File "setup.py", line 8, in
import ioLabs
File "C:\Users\Nils\Documents\GitHub\python-ioLabs\ioLabs.py", line 981
print "USBBox connected"
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("USBBox
connected")?
A friend, who has a lot more python experience than me, pointed out that it might be due to the script being written in python 2 handling "print" differently.
Is it maybe possible to adjust the setup to work in python 3, from what it looks like, I guess you only have to put the message in brackets?
My PsychoPy Version is v2020.1.3
and my Python Version 3.6.6
Windows Version on this Laptop is Windows 7 with Service Pack 1
The text was updated successfully, but these errors were encountered:
Hi, I just tried to install ioLabs for PsychoPy using pip and after that didn't work tryed a manual install via cmd and "python setup.py install". The error for both of these was:
C:\Users\Nils\Documents\GitHub\python-ioLabs>python setup.py install
Traceback (most recent call last):
File "setup.py", line 8, in
import ioLabs
File "C:\Users\Nils\Documents\GitHub\python-ioLabs\ioLabs.py", line 981
print "USBBox connected"
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("USBBox
connected")?
A friend, who has a lot more python experience than me, pointed out that it might be due to the script being written in python 2 handling "print" differently.
Is it maybe possible to adjust the setup to work in python 3, from what it looks like, I guess you only have to put the message in brackets?
My PsychoPy Version is v2020.1.3
and my Python Version 3.6.6
Windows Version on this Laptop is Windows 7 with Service Pack 1
The text was updated successfully, but these errors were encountered: