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

Not pip installable with Python 3 #1

Open
funsim opened this issue Aug 26, 2017 · 0 comments
Open

Not pip installable with Python 3 #1

funsim opened this issue Aug 26, 2017 · 0 comments

Comments

@funsim
Copy link

funsim commented Aug 26, 2017

The dev-restructure branch is currently not pip installable due to some Python 2 code:

simon@doodson ~/src/virtual-classroom git:dev-restructure$ python setup.py install --user
running install
running build
running build_py
running install_lib
creating /home/simon/.local/lib/python3.6/site-packages/virtual_classroom
copying build/lib/virtual_classroom/start_group.py -> /home/simon/.local/lib/python3.6/site-packages/virtual_classroom
copying build/lib/virtual_classroom/end_semester.py -> /home/simon/.local/lib/python3.6/site-packages/virtual_classroom
copying build/lib/virtual_classroom/api.py -> /home/simon/.local/lib/python3.6/site-packages/virtual_classroom
copying build/lib/virtual_classroom/utils.py -> /home/simon/.local/lib/python3.6/site-packages/virtual_classroom
copying build/lib/virtual_classroom/student.py -> /home/simon/.local/lib/python3.6/site-packages/virtual_classroom
copying build/lib/virtual_classroom/stats.py -> /home/simon/.local/lib/python3.6/site-packages/virtual_classroom
copying build/lib/virtual_classroom/collaboration.py -> /home/simon/.local/lib/python3.6/site-packages/virtual_classroom
copying build/lib/virtual_classroom/group.py -> /home/simon/.local/lib/python3.6/site-packages/virtual_classroom
copying build/lib/virtual_classroom/students_file.py -> /home/simon/.local/lib/python3.6/site-packages/virtual_classroom
copying build/lib/virtual_classroom/get_all_feedbacks.py -> /home/simon/.local/lib/python3.6/site-packages/virtual_classroom
copying build/lib/virtual_classroom/parameters.py -> /home/simon/.local/lib/python3.6/site-packages/virtual_classroom
copying build/lib/virtual_classroom/send_email.py -> /home/simon/.local/lib/python3.6/site-packages/virtual_classroom
copying build/lib/virtual_classroom/find_images.py -> /home/simon/.local/lib/python3.6/site-packages/virtual_classroom
copying build/lib/virtual_classroom/__init__.py -> /home/simon/.local/lib/python3.6/site-packages/virtual_classroom
copying build/lib/virtual_classroom/get_all_repos.py -> /home/simon/.local/lib/python3.6/site-packages/virtual_classroom
copying build/lib/virtual_classroom/classroom.py -> /home/simon/.local/lib/python3.6/site-packages/virtual_classroom
byte-compiling /home/simon/.local/lib/python3.6/site-packages/virtual_classroom/start_group.py to start_group.cpython-36.pyc
  File "/home/simon/.local/lib/python3.6/site-packages/virtual_classroom/start_group.py", line 151
    print "Handle student {0}".format(name)
                             ^
SyntaxError: invalid syntax
byte-compiling /home/simon/.local/lib/python3.6/site-packages/virtual_classroom/end_semester.py to end_semester.cpython-36.pyc
  File "/home/simon/.local/lib/python3.6/site-packages/virtual_classroom/end_semester.py", line 61
    print "Deleting ", member["login"],
                    ^
SyntaxError: Missing parentheses in call to 'print'
byte-compiling /home/simon/.local/lib/python3.6/site-packages/virtual_classroom/api.py to api.cpython-36.pyc
byte-compiling /home/simon/.local/lib/python3.6/site-packages/virtual_classroom/utils.py to utils.cpython-36.pyc
byte-compiling /home/simon/.local/lib/python3.6/site-packages/virtual_classroom/student.py to student.cpython-36.pyc
byte-compiling /home/simon/.local/lib/python3.6/site-packages/virtual_classroom/stats.py to stats.cpython-36.pyc
  File "/home/simon/.local/lib/python3.6/site-packages/virtual_classroom/stats.py", line 32
    print "Student are no longer taking this course: ", file_name
                                                     ^
SyntaxError: Missing parentheses in call to 'print'
byte-compiling /home/simon/.local/lib/python3.6/site-packages/virtual_classroom/collaboration.py to collaboration.cpython-36.pyc
byte-compiling /home/simon/.local/lib/python3.6/site-packages/virtual_classroom/group.py to group.cpython-36.pyc
byte-compiling /home/simon/.local/lib/python3.6/site-packages/virtual_classroom/students_file.py to students_file.cpython-36.pyc
byte-compiling /home/simon/.local/lib/python3.6/site-packages/virtual_classroom/get_all_feedbacks.py to get_all_feedbacks.cpython-36.pyc
  File "/home/simon/.local/lib/python3.6/site-packages/virtual_classroom/get_all_feedbacks.py", line 128
    print value
              ^
SyntaxError: Missing parentheses in call to 'print'
byte-compiling /home/simon/.local/lib/python3.6/site-packages/virtual_classroom/parameters.py to parameters.cpython-36.pyc
byte-compiling /home/simon/.local/lib/python3.6/site-packages/virtual_classroom/send_email.py to send_email.cpython-36.pyc
byte-compiling /home/simon/.local/lib/python3.6/site-packages/virtual_classroom/find_images.py to find_images.cpython-36.pyc
byte-compiling /home/simon/.local/lib/python3.6/site-packages/virtual_classroom/__init__.py to __init__.cpython-36.pyc
byte-compiling /home/simon/.local/lib/python3.6/site-packages/virtual_classroom/get_all_repos.py to get_all_repos.cpython-36.pyc
byte-compiling /home/simon/.local/lib/python3.6/site-packages/virtual_classroom/classroom.py to classroom.cpython-36.pyc
running install_egg_info
Removing /home/simon/.local/lib/python3.6/site-packages/virtual_classroom-0.0.1-py3.6.egg-info
Writing /home/simon/.local/lib/python3.6/site-packages/virtual_classroom-0.0.1-py3.6.egg-info
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