Python 3.5 doesn't work quickstart
See original GitHub issuePython 3.5 doesn’t work lektor quickstart
OS: Ubuntu 16.04
Lektor installed by master branch clone.
$ lektor quickstart
Lektor Quickstart
=================
This wizard will generate a new basic project with some sensible defaults for
getting started quickly. We just need to go through a few questions so that
the project is set up correctly for you.
Step 1:
| A project needs a name. The name is primarily used for the admin UI and
| some other places to refer to your project to not get confused if multiple
| projects exist. You can change this at any later point.
> Project Name: nesffer.github.io
Traceback (most recent call last):
File "/home/nesffer/dev/nesffer.github.io/bin/lektor", line 9, in <module>
load_entry_point('Lektor', 'console_scripts', 'lektor')()
File "/home/nesffer/dev/nesffer.github.io/lib/python3.5/site-packages/click-6.6-py3.5.egg/click/core.py", line 716, in __call__
return self.main(*args, **kwargs)
File "/home/nesffer/dev/nesffer.github.io/lib/python3.5/site-packages/click-6.6-py3.5.egg/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/home/nesffer/dev/nesffer.github.io/lib/python3.5/site-packages/click-6.6-py3.5.egg/click/core.py", line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/nesffer/dev/nesffer.github.io/lib/python3.5/site-packages/click-6.6-py3.5.egg/click/core.py", line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/nesffer/dev/nesffer.github.io/lib/python3.5/site-packages/click-6.6-py3.5.egg/click/core.py", line 534, in invoke
return callback(*args, **kwargs)
File "/home/nesffer/dev/nesffer.github.io/lib/python3.5/site-packages/click-6.6-py3.5.egg/click/decorators.py", line 64, in new_func
return ctx.invoke(f, obj, *args[1:], **kwargs)
File "/home/nesffer/dev/nesffer.github.io/lib/python3.5/site-packages/click-6.6-py3.5.egg/click/core.py", line 534, in invoke
return callback(*args, **kwargs)
File "/home/nesffer/dev/nesffer.github.io/lektor/lektor/cli.py", line 556, in quickstart_cmd
project_quickstart(options)
File "/home/nesffer/dev/nesffer.github.io/lektor/lektor/quickstart.py", line 171, in project_quickstart
author_name = g.prompt('Author Name', get_default_author(),
File "/home/nesffer/dev/nesffer.github.io/lektor/lektor/quickstart.py", line 137, in get_default_author
return ent.pw_gecos.decode('utf-8', 'replace')
AttributeError: 'str' object has no attribute 'decode'
Issue Analytics
- State:
- Created 7 years ago
- Comments:5
Top Results From Across the Web
QuickStart fails on Windows, Python 3.5 · Issue #16 · catboost ...
This is because python 3.5 is specific, we load new version for python3.5 in pypi, try reinstall catboost: pip install catboost --no-cache- ...
Read more >Python 3.5.2 can be accessed through Terminal, but IDLE for ...
The issue is this: I am unsure how to use IDLE (or another IDE, PyCharm for example) with python 3.5.2! I cannot find...
Read more >Python Release Python 3.5.0
Python 3.5.10, the final release of the 3.5 series, is available here. ... They will not work on Intel Itanium Processors (formerly "IA-64") ......
Read more >Quickstart — Boto3 Docs 1.17.24 documentation - AWS
Before installing Boto3, install Python 3.6 or later; support for Python 2.7 and Python 3.5 and earlier is deprecated. After the deprecation date...
Read more >How To Install Python 3 on Windows 10 - phoenixNAP
If you opted to install an older version of Python, it is possible that it did not come with Pip preinstalled. Pip is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ignore my previous comment - Quickstart from Master does work, but Version 2.3 from pypi doesn’t.
#142 is closed so I am assuming the Python 3 is now supported. However, this error still occurs - so this Issue should probably be reopened.