Throughout the codebase, solders.pubkey.Pubkey is used, however upon running anything 'solders.pubkey.Pubkey' object has no attribute 'to_solders' error occurs since solana pubkey equivalent is expected.
Willing to give the fix a try (not that familiar with given libraries, but it doesn't seem that difficult) in a PR if needed.
Example:
perp = Perp(rpc_client, 'mainnet', Keypair.generate())
perp.init()
Results in:
AttributeError: 'solders.pubkey.Pubkey' object has no attribute 'to_solders'