Skip to content

Python 3 Migration

bigwavedave42 edited this page Oct 4, 2023 · 3 revisions

So, there are some complications when upgrading to python3.

Bad Magic Number

ImportError: bad magic number in...
  • Nix (Linux/Unix) based
    find /path/to/SickChill -name '*.pyc' -delete
    systemctl restart sickchill # or however you restart your service
    
  • Windows

    run command prompt as an administrator

    (Click on Start button -> type "cmd" -> right-click on "Command Prompt" -> click "Run as administrator")

    At the command prompt:

    net stop sickchill
    cd C:\SickChill\SickChill
    del /S *.pyc
    net start sickchill
Clone this wiki locally