bad magic number in 'application': b'\x03\xf3\r\n': ImportError

I was able to fix this too, by doing find . -name \*.pyc -delete. Mine definitely wasn't caused by PY2 -> PY3 upgrade, but seemed to happen spontaneously overnight.

发布了115 篇原创文章 · 获赞 34 · 访问量 9万+

猜你喜欢

转载自blog.csdn.net/u011519550/article/details/101573285