Skip to content

Python 3 Migration

miigotu edited this page Sep 10, 2020 · 3 revisions

So, there are some complications when upgrading to python3.

  1. Bad Magic Number

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

      admin prompt

      net stop sickchill
      cd C:\SickChill\SickChill
      del /S *.pyc
      net start sickchill

Clone this wiki locally