-snip- is there anything I need to do before running get_submarine_swap_providers()?
The command just requires a loaded wallet,
Nostr should be enabled by default and loaded with pre-configured Nostr relays where those swap providers are queried from.
And for the dependencies, if you're running from python source; your secp256k1 should be compiled with schnorrsig module enabled.
Else, the daemon will run but the command wont work.