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

Python 3.x not supported? #30

Closed
thedemz opened this issue Aug 8, 2015 · 5 comments
Closed

Python 3.x not supported? #30

thedemz opened this issue Aug 8, 2015 · 5 comments

Comments

@thedemz
Copy link

thedemz commented Aug 8, 2015

Traceback (most recent call last):
  File "/usr/bin/yolk", line 9, in <module>
    load_entry_point('yolk==0.4.3', 'console_scripts', 'yolk')()
  File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 558, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 2682, in load_entry_point
    return ep.load()
  File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 2355, in load
    return self.resolve()
  File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 2361, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python3.4/site-packages/yolk/cli.py", line 262
    print " %s %s (%s)" % (project_name, dist.version,
                      ^
SyntaxError: invalid syntax
@jhermann
Copy link

jhermann commented Aug 9, 2015

@Flimm
Copy link

Flimm commented Aug 17, 2016

This is tested on Python 3.2, so it seems like it is supported.

In either case, it would be good if setup.py included Python 2 and Python 3 classifiers, so that we can tell whether this is meant to work in Python 2 and Python 3 or not.

@jhermann
Copy link

It's dead on both py2 and py3. Use yolk3k.

@Luckboy28
Copy link

Make sure you uninstall yolk before installing yolk3k so you can use the "yolk" commands in yolk3k

@jhh130910
Copy link

# python 2
pip install yolk

# python 3
pip install yolk3k

Command-line tool for querying PyPI and Python packages installed on your system.

@thedemz thedemz closed this as completed Mar 4, 2019
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

5 participants