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

need help #26

Closed
jkcox2016 opened this issue Sep 5, 2022 · 3 comments
Closed

need help #26

jkcox2016 opened this issue Sep 5, 2022 · 3 comments

Comments

@jkcox2016
Copy link

need help.
C:\Users\公司>aspeak
Traceback (most recent call last):
File "c:\users\公司\appdata\local\programs\python\python37\lib\runpy.py", line 193, in run_module_as_main
"main", mod_spec)
File "c:\users\公司\appdata\local\programs\python\python37\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Users\公司\AppData\Local\Programs\Python\Python37\Scripts\aspeak.exe_main
.py", line 5, in
File "c:\users\公司\appdata\local\programs\python\python37\lib\site-packages\aspeak_main
.py", line 1, in
from .cli import main
File "c:\users\公司\appdata\local\programs\python\python37\lib\site-packages\aspeak\cli_init_.py", line 1, in
from .main import main
File "c:\users\公司\appdata\local\programs\python\python37\lib\site-packages\aspeak\cli\main.py", line 11, in
from .parser import parser
File "c:\users\公司\appdata\local\programs\python\python37\lib\site-packages\aspeak\cli\parser.py", line 5, in
from .value_parsers import pitch, rate, format
File "c:\users\公司\appdata\local\programs\python\python37\lib\site-packages\aspeak\cli\value_parsers.py", line 26
if (result := try_parse_float(arg)) and result[0]:
^
SyntaxError: invalid syntax

@kxxt
Copy link
Owner

kxxt commented Sep 5, 2022

The walrus operator is introduced in python3.8, which causes incompatibility with your python3.7.

You can upgrade your python to 3.8 or greater for now.

I will fix this incompatibility issue tomorrow.

@jkcox2016
Copy link
Author

thank you

@kxxt
Copy link
Owner

kxxt commented Sep 5, 2022

Fixed in v3.0.2

@kxxt kxxt closed this as completed Sep 5, 2022
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