MetaTrader5 initialize in Python timing out with 'IPC timeout'

You are missing trading opportunities:
- Free trading apps
- Free Forex VPS for 24 hours
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I'm running Python from Anaconda shell to connect to Metatrader 5:
It opens the MT5 terminal and logs in but never gets a successful return value. It hangs for the timeout duration and then times out:
failed to connect at account #935240, error code: (-10005, 'IPC timeout')
Why would this happen?