How to fix Python ValueError:bad marshal data?

后端 未结 7 2440
梦毁少年i
梦毁少年i 2020-12-01 06:20

Running flexget Python script in Ubuntu, I get an error:

$ flexget series forget \"Orange is the new black\" s03e01
Traceback (most recent call last):
File \         


        
7条回答
  •  执笔经年
    2020-12-01 06:45

    If you get that error, the compiled version of the Python module (the .pyc file) is corrupt probably. Gentoo Linux provides python-updater, but in Debian the easier way to fix: just delete the .pyc file. If you don't know the pyc, just delete all of them (as root):

    find /usr -name '*.pyc' -delete
    

提交回复
热议问题