You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when the open parenthesis is reached it triggers the error
What is the expected output? What do you see instead?
Please provide any additional information below
File "D:\Trabajo\Sources\spyder-git\spyder\utils\introspection\manager.py", line 234, in show_object_info
info = self.get_code_info('info', position, auto=auto)
File "D:\Trabajo\Sources\spyder-git\spyder\utils\introspection\manager.py", line 216, in get_code_info
**kwargs)
File "D:\Trabajo\Sources\spyder-git\spyder\utils\introspection\utils.py", line 75, in init
self.get_info()
File "D:\Trabajo\Sources\spyder-git\spyder\utils\introspection\utils.py", line 87, in get_info
lexer = find_lexer_for_filename(self.filename)
File "D:\Trabajo\Sources\spyder-git\spyder\utils\introspection\utils.py", line 180, in find_lexer_for_filename
lexer = get_lexer_for_filename(filename)
File "C:\Program Files\Python36\lib\site-packages\pygments\lexers_init.py", line 203, in get_lexer_for_filename
res = find_lexer_class_for_filename(fn, code)
File "C:\Program Files\Python36\lib\site-packages\pygments\lexers_init.py", line 168, in find_lexer_class_for_filename
for cls in find_plugin_lexers():
File "C:\Program Files\Python36\lib\site-packages\pygments\plugin.py", line 53, in find_plugin_lexers
yield entrypoint.load()
File "C:\Program Files\Python36\lib\site-packages\pkg_resources_init.py", line 2404, in load
self.require(*args, **kwargs)
File "C:\Program Files\Python36\lib\site-packages\pkg_resources_init.py", line 2427, in require
items = working_set.resolve(reqs, env, installer, extras=self.extras)
File "C:\Program Files\Python36\lib\site-packages\pkg_resources_init.py", line 875, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (parso 0.1.1 (c:\program files\python36\lib\site-packages), Requirement.parse('parso==0.1.0'), {'jedi'})
Thanks for reporting. This is a duplicate of many previous errors, e.g. #5673. As the error message states, Jedi is only compatible with parso 0.1.0, not 0.1.1. Therefore, you can update jedi to the latest version with conda update jedi ; you can also downgrade to parso 0.1.0 with e.g. conda install parso=0.1.0 (or similar with pip, if you use that instead), and you can close this issue.
Description
Using code completion with Matplotlib.
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Please provide any additional information below
File "D:\Trabajo\Sources\spyder-git\spyder\utils\introspection\manager.py", line 234, in show_object_info
info = self.get_code_info('info', position, auto=auto)
File "D:\Trabajo\Sources\spyder-git\spyder\utils\introspection\manager.py", line 216, in get_code_info
**kwargs)
File "D:\Trabajo\Sources\spyder-git\spyder\utils\introspection\utils.py", line 75, in init
self.get_info()
File "D:\Trabajo\Sources\spyder-git\spyder\utils\introspection\utils.py", line 87, in get_info
lexer = find_lexer_for_filename(self.filename)
File "D:\Trabajo\Sources\spyder-git\spyder\utils\introspection\utils.py", line 180, in find_lexer_for_filename
lexer = get_lexer_for_filename(filename)
File "C:\Program Files\Python36\lib\site-packages\pygments\lexers_init.py", line 203, in get_lexer_for_filename
res = find_lexer_class_for_filename(fn, code)
File "C:\Program Files\Python36\lib\site-packages\pygments\lexers_init.py", line 168, in find_lexer_class_for_filename
for cls in find_plugin_lexers():
File "C:\Program Files\Python36\lib\site-packages\pygments\plugin.py", line 53, in find_plugin_lexers
yield entrypoint.load()
File "C:\Program Files\Python36\lib\site-packages\pkg_resources_init.py", line 2404, in load
self.require(*args, **kwargs)
File "C:\Program Files\Python36\lib\site-packages\pkg_resources_init.py", line 2427, in require
items = working_set.resolve(reqs, env, installer, extras=self.extras)
File "C:\Program Files\Python36\lib\site-packages\pkg_resources_init.py", line 875, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (parso 0.1.1 (c:\program files\python36\lib\site-packages), Requirement.parse('parso==0.1.0'), {'jedi'})
Version and main components
Dependencies
The text was updated successfully, but these errors were encountered: