bad magic number is usually down to the wrong python version being installed.

insure you have the correct version for you image.

then follow my instructions in post number 9 and install it that way.

by the way,6.4 is not the latest version and if you follow my instructions in post number 9 you will then have the latest version installed.

Ian.