You really can’t. The closest thing you can do is install Jython manually, then symlink the site-packages of that installation with the pylib
directory (see here for details) - which means you’ll also have to develop on the gateway machine (or at least, a machine with a gateway installed).
Jetbrains IDEs don’t seem to have great support for Jython, last I checked. That may have changed, but it’ll probably be a bit of a hurdle. You’ll probably also want to use something like https://github.com/thecesrom/Ignition to “stub” Ignition scripting functions - there’s no way to access Ignition’s built in scripting functions outside of an actual Ignition runtime.