you can also try to import the xprv key directly
just copy the xprv key
in electrum chose File -> New / Restore
Select standard wallet
After that select "Use a master key"
Paste your xprv key in there and thats all
it should work without any problem
please tell me which command through the console will allow me to extract xprv