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

Cannot open file #6012

Closed
SongFGH opened this issue Dec 19, 2017 · 1 comment
Closed

Cannot open file #6012

SongFGH opened this issue Dec 19, 2017 · 1 comment

Comments

@SongFGH
Copy link

SongFGH commented Dec 19, 2017

Description

What steps will reproduce the problem?

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

Please provide any additional information below

File "D:\pythonIDEAnaconda\lib\site-packages\spyder\plugins\editor.py", line 1840, in load
self.edit_filetypes = get_edit_filetypes()
File "D:\pythonIDEAnaconda\lib\site-packages\spyder\config\utils.py", line 119, in get_edit_filetypes
pygments_exts = get_pygments_extensions()
File "D:\pythonIDEAnaconda\lib\site-packages\spyder\config\utils.py", line 86, in get_pygments_extensions
for lx in lexers.get_all_lexers():
File "D:\pythonIDEAnaconda\lib\site-packages\pygments\lexers_init
.py", line 53, in get_all_lexers
for lexer in find_plugin_lexers():
File "D:\pythonIDEAnaconda\lib\site-packages\pygments\plugin.py", line 53, in find_plugin_lexers
yield entrypoint.load()
File "D:\pythonIDEAnaconda\lib\site-packages\pkg_resources_init
.py", line 2404, in load
self.require(*args, **kwargs)
File "D:\pythonIDEAnaconda\lib\site-packages\pkg_resources_init_.py", line 2427, in require
items = working_set.resolve(reqs, env, installer, extras=self.extras)
File "D:\pythonIDEAnaconda\lib\site-packages\pkg_resources_init_.py", line 875, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.VersionConflict: (jedi 0.9.0 (d:\pythonideanaconda\lib\si

@CAM-Gerlach
Copy link
Member

Thanks for reporting. The error traceback that was posted is incomplete. However, it is very likely a duplicate of e.g. #5673 , an error that's been reported numerous times now. As the full 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 (or with pip, if you use that instead); (you can also downgrade to parso 0.1.0 with e.g. conda install parso=0.1.0 ) and so this issue will be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants