ContextualVersionConflict with parso version when building
See original GitHub issueDescribe 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:
- Update all pip packages:
pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U
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:
- Created 3 years ago
- Comments:8 (8 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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
andparso
and runningjb build
successfully.Ok cheers that’s a shame, note you can also use
pip check
after updating your environment, which should highlight any version inconsistencies