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

No python 3 support #65

Open
cab938 opened this issue Sep 5, 2016 · 2 comments
Open

No python 3 support #65

cab938 opened this issue Sep 5, 2016 · 2 comments

Comments

@cab938
Copy link

cab938 commented Sep 5, 2016

I can install it with pip3, but can't run the scripts in python 3.

Traceback (most recent call last):
File "/home/brooksch/.virtualenv/py3-jupyter/bin/courseraprogramming", line 9, in
load_entry_point('courseraprogramming==0.16.0', 'console_scripts', 'courseraprogramming')()
File "/home/brooksch/.virtualenv/py3-jupyter/lib/python3.4/site-packages/pkg_resources/init.py", line 542, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/brooksch/.virtualenv/py3-jupyter/lib/python3.4/site-packages/pkg_resources/init.py", line 2570, in load_entry_point
return ep.load()
File "/home/brooksch/.virtualenv/py3-jupyter/lib/python3.4/site-packages/pkg_resources/init.py", line 2230, in load
return self.resolve()
File "/home/brooksch/.virtualenv/py3-jupyter/lib/python3.4/site-packages/pkg_resources/init.py", line 2236, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/home/brooksch/.virtualenv/py3-jupyter/lib/python3.4/site-packages/courseraprogramming/main.py", line 24, in
from courseraprogramming import commands
File "/home/brooksch/.virtualenv/py3-jupyter/lib/python3.4/site-packages/courseraprogramming/commands/init.py", line 16, in
from . import * # noqa
File "/home/brooksch/.virtualenv/py3-jupyter/lib/python3.4/site-packages/courseraprogramming/commands/config.py", line 63
print 'Name: %s' % name
^
SyntaxError: invalid syntax

@saeta
Copy link
Contributor

saeta commented Sep 5, 2016

Thanks for reporting this @cab938 . I'm not sure when we can commit to getting python3 support, but patches are always welcome! We'll definitely keep this ticket open to track this important improvement.

@echuber2
Copy link

Why does pip install a courseraprogramming launch script that invokes Python 3 if it doesn't support Python 3?

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

3 participants