Traceback (most recent call last):
File "/home/mictest.py", line 6, in
cache.save()
File "/usr/local/lib/python3.8/site-packages/micawber/cache.py", line 36, in save
fh.write(pickle.dumps(self._cache))
TypeError: write() argument must be str, not bytes
On Python3, pickle.dump and load require byte stream. For the example, run the following code
then the last line raises an exception: