littlebalup / PyPS3tools

Suite of python tools for PS3 flash memory dump files.
GNU General Public License v2.0
269 stars 168 forks source link

SyntaxError: invalid syntax #7

Closed CAPMAGIC closed 6 years ago

CAPMAGIC commented 6 years ago

Hi,

I got the following issue using python 2.7.11

File "checker.py", line 7 <!DOCTYPE html> ^ SyntaxError: invalid syntax

mizernika commented 6 years ago

I have the same problem with either of my PC and laptop, running Win7 x64. Tried different Python versions like 2.7, 2.7.11 and so on, but I get the same result. When I get the error, the cmd prompt automatically closes. In Python 2.7.2 it gives syntax error on the line !DOCTYPE html. Can you please tell us what can we do?

mizernika commented 6 years ago

Hi again, I figured it out, at least it worked for me. The thing is that you have to uninstall all previous Python versions from control panel and delete all Python folders from C:\ drive. Then do a restart and install Python 2.7.2 but only for current users. Hope it works for you. Cheers!