fly-high-bj opened a new issue #5319: with python 3.7.0 -- core.py line 2358 
invalid syntax error
URL: https://github.com/apache/incubator-superset/issues/5319
 
 
   
   - [ x] I have checked the superset logs for python stacktraces and included 
it here as text if any
   - [ x] I have reproduced the issue with at least the latest released version 
of superset
   - [ x] I have checked the issue tracker for the same issue and I haven't 
found one similar
   
   Trying to install superset on Windows, installed the latest Python 3.7.0 
which is released on 6/27/18; pip install superset with the latest version.
   Run script
   'fabmanager create-admin -app superset'
   Fill in the required information for admin user, first name, last name, 
email, password, and confirmation of password
   
   ### Superset version
   Latest as 'pip install superset' was run on 6/28/18
   
   ### Expected results
   admin user created successfully
   
   ### Actual results
   Get an error: 'Was unable to import superset Error: invalid syntax (core.py, 
line 2358)'
   
   ### Steps to reproduce
   See above. Basically run 'superset db upgrade' will have similar error.
   
   Did a bit digging, it seems that starting in Python 3.7.0, 'async' and 
'await' become keyword. And core.py line 2358 is defining a var named 'async' 
-- 
           async = request.form.get('runAsync') == 'true'
   
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to