ValueError: bad marshal data (unknown type code) error occurs when running the script

        When running the program in the docker environment, the error ValueError: bad marshal data (unknown type code) is reported. The main reason is that there are .pyc cache files in the program. Just delete these files.

        Use the command: find ./ --name=*.pyc | xargs rm

Guess you like

Origin blog.csdn.net/yangyanbao8389/article/details/122026372