-
Notifications
You must be signed in to change notification settings - Fork 9
Code Intel failed to install with "syntax error -> self.async = False" #5
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
Comments
self.async = False
Same on Mac 10.13.5 with homebrew-installed Python 3.7. There seem to have been some syntax/api changes in Python 3.7, and it breaks multiple packages, including the esprima package used by codeintel. |
A temporary workaround is to install Here's what I did: brew install pyenv
pyenv install 3.6.5
pyenv global 3.6.5
eval "$(pyenv init -)"
pip install --upgrade --pre CodeIntel Don't forget to switch back to your default brew/system Python with |
This might or might not be related: But switching back to 3.6.5 via @peterkos workaround or by doing a
Looking at the repo for inflector I found an issue about python3 compatibility. |
I ran ❯ python setup.py egg_info
running egg_info
writing Inflector.egg-info/PKG-INFO
writing dependency_links to Inflector.egg-info/dependency_links.txt
writing top-level names to Inflector.egg-info/top_level.txt
reading manifest file 'Inflector.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'Inflector.egg-info/SOURCES.txt' |
Yeah it seems that |
Got it! Thank you! Could you help me with a a pull requests in https://github.com/Kronuz/esprima-python ? |
Using Windows 10 and Python 3.7:
The text was updated successfully, but these errors were encountered: