Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not install ioLabs: print error in setup script #5

Open
nilslueschow opened this issue Aug 6, 2020 · 0 comments
Open

Can not install ioLabs: print error in setup script #5

nilslueschow opened this issue Aug 6, 2020 · 0 comments

Comments

@nilslueschow
Copy link

nilslueschow commented Aug 6, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant