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

SyntaxError: Invalid Syntax received when running from windows shell #34

Open
xiaxio opened this issue Jul 17, 2018 · 0 comments
Open

Comments

@xiaxio
Copy link

xiaxio commented Jul 17, 2018

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!

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

1 participant