Error writing grammar tables
See original GitHub issueI get an error upon launching Jupyter Lab with this extension enabled:
[I 10:37:25.686 LabApp] Node v10.8.0
[I 10:37:26.075 LabApp] Build is up to date
Generating grammar tables from C:\Users\%USERNAME%\Anaconda3\lib\site-packages\blib2to3\Grammar.txt
Writing grammar tables to C:\Users\%USERNAME%\AppData\Local\black\black\Cache\18.9b0\Grammar3.7.1.final.0.pickle
Writing failed: [Errno 2] No such file or directory: 'C:\\Users\\%USERNAME%\\AppData\\Local\\black\\black\\Cache\\18.9b0\\Grammar3.7.1.final.0.pickle'
Generating grammar tables from C:\Users\%USERNAME%\Anaconda3\lib\site-packages\blib2to3\PatternGrammar.txt
Writing grammar tables to C:\Users\%USERNAME%\AppData\Local\black\black\Cache\18.9b0\PatternGrammar3.7.1.final.0.pickle
Writing failed: [Errno 2] No such file or directory: 'C:\\Users\\%USERNAME%\\AppData\\Local\\black\\black\\Cache\\18.9b0\\PatternGrammar3.7.1.final.0.pickle'
After manually creating the folder C:\\Users\\%USERNAME%\\AppData\\Local\\black\\black\\Cache\\18.9b0
and relaunching Jupyter lab the error disappears (even though the folder seems to stay empty).
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:19 (7 by maintainers)
Top Results From Across the Web
Improve the the blib2to3 grammar caching mechanism #1143
I get an error upon launching Jupyter Lab with the ... ichard26 changed the title Error writing grammar tables Improve the the blib2to3 ......
Read more >User-Guide - Logging — ploomber 0.21.8dev documentation
Tutorial showing how to add logging to a pipeline. Sample pipeline¶. The pipeline we'll be using for this guide contains two tasks (a...
Read more >31 Types of Writing Errors: Grammar, Spelling, Punctuation ...
A writing error is a mistake in the form of grammar, spelling, punctuation, or word choice that makes your paper less readable and...
Read more >python-sphinx: Generating grammar tables problem
Package: python-sphinx. Version: 0.6.6-3. Severity: normal. hello,. when I am generating the documentaiton of one of my prospective package,
Read more >No problem with Black per se - it's my default linter
... /usr/local/lib/python3.10/site-packages/blib2to3/Grammar.txt Writing grammar tables to /root/.cache/black/21.12b0/Grammar3.10.1.final.0.pickle Writing ...
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 Free
Top 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
Same here with MacOS BigSur
Same issue here as @andreamoro with new Mac OS X Catalina.