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 supporting Python 3.4 #38

Closed
jiegec opened this issue Jun 8, 2014 · 2 comments
Closed

Not supporting Python 3.4 #38

jiegec opened this issue Jun 8, 2014 · 2 comments

Comments

@jiegec
Copy link

jiegec commented Jun 8, 2014

Here is the traceback:
Traceback (most recent call last):
File "h:\Python\Python34\Scripts\lice-script.py", line 9, in
load_entry_point('lice==0.4', 'console_scripts', 'lice')()
File "H:\Python\Python34\lib\site-packages\lice__init__.py", line 6, in main
main()
File "H:\Python\Python34\lib\site-packages\lice\core.py", line 171, in main
content = generate_license(template.decode("UTF-8"), get_context(args))
AttributeError: 'str' object has no attribute 'decode'

That method is only in Python 2, and it does not support Python 3, but lice is in the category called Programming Language :: Python :: 3. That's confusing,

@luoyetx
Copy link

luoyetx commented Jul 28, 2014

Do you install lice using pip?
I also got problems with Python34 using pip to install lice.
Maybe you should clone this repo and use python setup.py install to install(It works with me :)

@jiegec
Copy link
Author

jiegec commented Jul 30, 2014

First question, yes. So i made a pull request for this. ^_^

@jiegec jiegec closed this as completed Oct 11, 2015
seapagan pushed a commit to seapagan/lice that referenced this issue Jan 16, 2025
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

2 participants