I started writing a modern pywallet replacement that may work:
https://github.com/achow101/wallet-manipulator. You should be able to install it with
pip install . and then the
wallet-manipulator command should be available. You can then export your private keys with
wallet-manipulator <path to file> export privkeys
Wonderful! Eager to see the final and practical result of this implementation. I also had difficulties running Pywallet due to this confusion with Python versions and other errors that I don't remember (it's reported somewhere on the forum).
I have a question: will this wallet-manipulator implementation workfor recovering descriptor wallets as well or only legacy wallet.dat files?
Do descriptor wallet.dat files store any WIF private keys?
In other words, can I restore WIF private keys from a descriptor wallet without needing third-party tools such as web pages (iancoleman)?