Black: Black stuck on bad cache(?)

Created on 24 Jun 2019  路  3Comments  路  Source: psf/black

After running black from Python3.8 virtualenv, I am unable to run black from Python3.7 virtualenv on the same codebase, even on completely new files:

> black x.py
error: cannot format x.py: unsupported pickle protocol: 5
All done! 馃挜 馃挃 馃挜
1 file failed to reformat.

Howdy! Sorry you're having trouble. To expedite your experience,
provide some basics for me:

Operating system: macOS
Python version: 3.8b + 3.7
Black version: 19.3b0
Does also happen on master: dunno

Most helpful comment

TL;DR, on Mac, do rm -rf ~/Library/Caches/black/*

All 3 comments

Probably duplicate of #875

TL;DR, on Mac, do rm -rf ~/Library/Caches/black/*

Yes, let's keep the discussion in #875

Was this page helpful?
0 / 5 - 0 ratings