Just keep playing through the levels until you finish them and get to the upgrade screen. There's a chance that a weapon will be available as one of these upgrades.
You don't need to get all the weapon upgrades in a single run, you can pick them up over multiple runs.