I tried installing this script but then got this error message:
I'm hoping for an answer that's similar to this one but for python instead of ruby.
There is no way to install Python plugin in PHPStorm.
If you don't want to try IDEA and only need a basic syntax highlighting for Python files in PHPStorm, you can either create a new file type in
Settings/File Types, add
*.py as registered pattern there, and define your own syntax highlighting rules, or search for existing textmate bundles for Python files in the web, import them and use for the
*.py syntax highlighting - see TextMate Bundles in PhpStorm and SO discussion for more info.