-
Notifications
You must be signed in to change notification settings - Fork 9
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
Syntax Error @ board: #12
Comments
The script only works with python3. So try to run the following:
|
Hi Max, I did that, failed, so tried again starting from scrap: What makes your system start the command without calling python3 or python3.6? Do you copy the files to a /usr/bin dir? or have some magic env variable? python3.6 ./scripts/trello-to-deck |
No, installing using pip3 should be sufficient.
When you install via
|
Ok, thanks to all. My experience - Maybe use this for documentation if it makes sense? On an average Ubuntu/Debian/Elementary Machine you would have to do: apt install python3.7 |
Thanks for providing the solution :) |
Hi,
Nice tool, I was excited to find it! I tried using it last night, but got 2 Errors. I'm not a python genius, but usually get around using pip, python and scripts, but I didnt manage to get around these errors:
Error #1
File "./scripts/trello-to-deck", line 32
SyntaxError: Non-ASCII character '\xe2' in file ./scripts/trello-to-deck on line 32, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
Error #2
user@shell$ python scripts/trello-to-deck
File "scripts/trello-to-deck", line 36
board: Board = to_board(
^
SyntaxError: invalid syntax
Running on my notebook with elementary Linux and the following versions:
[GCC 7.5.0] on linux2
*uname -a: Linux topaz 5.4.0-52-generic #57~18.04.1-Ubuntu SMP Thu Oct 15 14:04:49 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Am I missing a pip/python dependency?
thanks for your recommendation!
The text was updated successfully, but these errors were encountered: