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

What happened? #5956

Closed
linlin98126 opened this issue Dec 11, 2017 · 2 comments
Closed

What happened? #5956

linlin98126 opened this issue Dec 11, 2017 · 2 comments

Comments

@linlin98126
Copy link

Description

What steps will reproduce the problem?

What is the expected output? What do you see instead?

Please provide any additional information below

File "E:\Anaconda3\lib\site-packages\spyder\utils\introspection\manager.py", line 220, in get_completions
info = self._get_code_info('completions', automatic=automatic)
File "E:\Anaconda3\lib\site-packages\spyder\utils\introspection\manager.py", line 216, in _get_code_info
**kwargs)
File "E:\Anaconda3\lib\site-packages\spyder\utils\introspection\utils.py", line 75, in init
self.get_info()
File "E:\Anaconda3\lib\site-packages\spyder\utils\introspection\utils.py", line 87, in get_info
lexer = find_lexer_for_filename(self.filename)
File "E:\Anaconda3\lib\site-packages\spyder\utils\introspection\utils.py", line 180, in find_lexer_for_filename
lexer = get_lexer_for_filename(filename)
File "E:\Anaconda3\lib\site-packages\pygments\lexers_init
.py", line 203, in get_lexer_for_filename
res = find_lexer_class_for_filename(fn, code)
File "E:\Anaconda3\lib\site-packages\pygments\lexers_init
.py", line 168, in find_lexer_class_for_filename
for cls in find_plugin_lexers():
File "E:\Anaconda3\lib\site-packages\pygments\plugin.py", line 53, in find_plugin_lexers
yield entrypoint.load()
File "E:\Anaconda3\lib\site-packages\pkg_resources_init
.py", line 2404, in l

@Dan-Patterson
Copy link

It got me too... #5929 downgrade parso

@CAM-Gerlach
Copy link
Member

Thanks for reporting. The error traceback that was posted is apparently incomplete. However, it is very likely a duplicate of e.g. #5673 , an error that's been reported at least a half dozen times just today. As the full error message states, Jedi is only compatible with parso 0.1.0, not, 0.1.1. Therefore, please downgrade to 0.1.0 to fix this, and this issue can be closed. You can also update jedi with conda update jedi which should also fix it.

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

4 participants