question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for jedi 0.17.0

See original GitHub issue

Problem Description

I am running spyder 4.1.2 and the only version of jedi it supports is 0.15.2 but I have 0.16.0 installed on my system. Since spyder doesn’t support the latest version of jedi I get the dependency error when I launch spyder. I guess the autocomplete feature is also not working because of it. I want to know if I need to downgrade the version of jedi or is it possible to support the latest version of jedi in spyder 4.1.2.

Versions

  • Spyder version: 4.1.2
  • Python version: 3.7.7
  • Qt version:
  • PyQt version:
  • Operating System name/version: Windows 10

Dependencies

Mandatory:

atomicwrites >=1.2.0 : 1.3.0 (OK) chardet >=2.0.0 : 3.0.4 (OK) cloudpickle >=0.5.0 : 1.4.0 (OK) diff_match_patch >=20181111 : 20181111 (OK) intervaltree : None (OK) IPython >=4.0 : 7.13.0 (OK) jedi =0.15.2 : 0.16.0 (NOK) nbconvert >=4.0 : 5.6.1 (OK) numpydoc >=0.6.0 : 0.9.2 (OK) paramiko >=2.4.0 : 2.7.1 (OK) parso =0.5.2 : 0.6.2 (NOK) pexpect >=4.4.0 : 4.8.0 (OK) pickleshare >=0.4 : 0.7.5 (OK) psutil >=5.3 : 5.7.0 (OK) pygments >=2.0 : 2.6.1 (OK) pylint >=0.25 : 2.4.4 (OK) pyls >=0.31.9;<0.32.0 : 0.31.10 (OK) qdarkstyle >=2.8 : 2.8.1 (OK) qtawesome >=0.5.7 : 0.7.0 (OK) qtconsole >=4.6.0 : 4.7.2 (OK) qtpy >=1.5.0 : 1.9.0 (OK) rtree >=0.8.3 : 0.9.3 (OK) sphinx >=0.6.6 : 3.0.3 (OK) spyder_kernels >=1.9.0;<1.10.0 : 1.9.0 (OK) watchdog : None (OK) zmq >=17 : 19.0.0 (OK)

Optional:

cython >=0.21 : 0.29.17 (OK) matplotlib >=2.0.0 : 3.2.1 (OK) numpy >=1.7 : 1.18.2 (OK) pandas >=0.13.1 : 1.0.3 (OK) scipy >=0.17.0 : 1.4.1 (OK) sympy >=0.7.3 : 1.5.1 (OK)

PASTE DEPENDENCIES HERE

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
ritesh024commented, May 4, 2020

I have always used notepad++ or jupyter notebooks for my python related needs, this is my first time trying to use an IDE for python. I didn’t know there would be so many dependencies an IDE has to obey for it to function normally. I’ll just wait for the new version of Spyder. Thanks for the replies.

1reaction
ccordoba12commented, May 2, 2020

I am running spyder 4.1.2 and the only version of jedi it supports is 0.15.2 but I have 0.16.0 installed on my system

Jedi 0.16.0 is broken for Pandas. We’re going to aim at supporting Jedi 0.17.0 in our 4.1.4 version, to be released at the end May (most probably).

I guess the autocomplete feature is also not working because of it

That’s not the reason. You need to have Jedi 0.15.2 and Parso 0.5.2 installed for things to work correctly.

I want to know if I need to downgrade the version of jedi

Yes, you need to, and also your Parso version, as I said above.

is it possible to support the latest version of jedi in spyder 4.1.2.

That’s basically not possible, unless you’re very knowledgeable about our dependencies and how they work among them. And even if you manage to sort out all issues with them (as @bnavigator was suggesting above), you could get dependency errors (not generated by Spyder but by other packages) at runtime.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Jedi Documentation
Github Repository. Jedi is a static analysis tool for Python that is typically used in IDEs/editors plugins.
Read more >
jedi - PyPI
Jedi is a static analysis tool for Python that is typically used in IDEs/editors ... There is support for module search with jedi....
Read more >
Jupyter Lab or Jupyter Notebook autocompletion won't work
I have tried to use different release of jedi packages but won't help. I have used nbextenstion option as well with no luck....
Read more >
jedi Changelog - pyup.io
Latest black doesn't support Python < 3.6.2, so to keep things simple here ... 0.17.0. Added - cc19816 2020-05-29 | Completion opto: add...
Read more >
jedi: Static analysis tool providing IDE support for Python
Jedi is a static analysis tool for Python that is typically used in ... Jedi has a focus on autocompletion and goto functionality....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found