I have installed Anaconda on Windows to replace standalone Python installation that was used by the IDA Pro. I have confirmed that all relevant environment variables and register keys were set to point to the Anaconda instead of c:\python27-x64. However after that IDA Pro failed to load my plugins (complaining that it can't find certain libraries). What helped to resolved this problem was deleting python27.dll from c:\Windows\System32.
After deleting python27.dll, IDA Pro was able to load IDAPython plugins, they in turn were able to find libraries located in Anaconda directory and everything seemed to be working fine with the built-in Python console. However it started to give me R6034 error message each time I am launching IDA Pro, saying "An application has made an attempt to load the C runtime library incorrectly".
Currently I don't see any side effects of getting this error message except that I was unable to install QT console (https://github.com/james91b/ida_ipython) following the procedure outlined there, which makes me think that the error message may be somehow preventing me from installing it.
Copying python27.dll from Anaconda folder into c:\Windows\System32 doesn't help to remove the error message. What can be done to resolve it?