giuse88/duka

SyntaxError: Invalid Syntax received when running from windows shell

Opened this issue · 0 comments

Hi @giuse88

I installed duka module, but when I run it from Terminal within PyCharm, and also from Windows PowerShell, I get the following error:

"
PS C:\users...\miniconda2\scripts> .\duka -h
Traceback (most recent call last):
File "c:\users...\miniconda2\lib\runpy.py", line 174, in run_module_as_main
"main", fname, loader, pkg_name)
File "c:\users...\miniconda2\lib\runpy.py", line 72, in run_code
exec code in run_globals
File "C:\users...\miniconda2\scripts\duka.exe_main
.py", line 5, in
File "c:\users...\miniconda2\lib\site-packages\duka\main.py", line 6, in
from duka.app import app
File "c:\users...\miniconda2\lib\site-packages\duka\app_init
.py", line 1, in
from .app import app
File "c:\users...\miniconda2\lib\site-packages\duka\app\app.py", line 41
format_left_time(estimation)), end='')
^
SyntaxError: invalid syntax
"

On the screen, the arrow (^) points to the equal sign in end=''.

By the way, the syntax of .\duka is following instructions from Windows to run a .exe file within the directory

Do you have any suggestion?

Thanks!