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.

ContextualVersionConflict with parso version when building

See original GitHub issue

Describe the bug

When building after updating all my pip packages, I get this error:

pkg_resources.ContextualVersionConflict: (parso 0.8.1 (/home/mghenis/anaconda3/lib/python3.7/site-packages), Requirement.parse(‘parso<0.8.0,>=0.7.0’), {‘jedi’})

Here’s the full output.

The book was building fine before updating packages.

To Reproduce

Steps to reproduce the behavior:

  1. Update all pip packages: pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U
  2. jb build in folder

repo: https://github.com/UBICenter/blog/

Environment

  • Python Version [e.g. 3.7.1]: 3.7.9
  • Package versions or output of jupyter-book --version:
Jupyter Book: 0.9.1
MyST-NB: 0.10.1
Sphinx Book Theme: 0.0.39
MyST-Parser: 0.13.0
Jupyter-Cache: 0.4.1
NbClient: 0.5.1
  • Operating System: Ubuntu

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
MaxGheniscommented, Dec 25, 2020

Per https://github.com/davidhalter/jedi/issues/1650, this was fixed in https://github.com/davidhalter/jedi/releases/tag/v0.18.0 released this morning. I just verified this by updating jedi and parso and running jb build successfully.

1reaction
chrisjsewellcommented, Dec 25, 2020

Ok cheers that’s a shame, note you can also use pip check after updating your environment, which should highlight any version inconsistencies

Read more comments on GitHub >

github_iconTop Results From Across the Web

ContextualVersionConflict when importing guesslang ...
I reinstalled html5lib once with version 1.0.1 and did again with version 0.9999999 (seven 9s), but the result is same in both tries....
Read more >
AUR (en) - spyder-git - Arch Linux
ContextualVersionConflict : (spyder-kernels 2.0.5 ($HOME.local/lib/python3.9/site-packages), Requirement.parse('spyder-kernels<2.2.0,>=2.1.0'), ...
Read more >
Useful Python libraries for Data Science
Useful Python libraries for Data Science · 1. dabl(Data Analysis Baseline Library) · 2. missingno · 3. Emot · 4. FlashText · 5....
Read more >
cannot uninstall 'llvmlite' - You.com | The AI Search Engine ...
Python doesn't let me to upgrade llvmlite to the newer version and ... in my docker file: RUN pip install nemo_toolkit[all] When I...
Read more >
omprakashp014909/dashboard-for-airline-reporting-carrier-on- ...
ContextualVersionConflict Traceback (most recent call last) <ipython-input-27-476f6c8cff78> in <module> 3 import plotly.express as px 4 import ...
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 Reddit Thread

No results found

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