Page 1 of 1

Runtime error (R6034)

Posted: Mon Mar 28, 2016 5:01 pm
by phendric
Guys,

One of my students is trying to get NEURON + Anaconda (Python 2.7) installed on Windows 10 (x86_64). They want Anaconda because it gives them access to NumPy, SciPy, Pylab, etc. But after installing Anaconda and the latest version of MinGW NEURON, they get the following error when trying to import any modules (first calling "nrniv -python" from the bash prompt):

"Runtime error!

Program: d:\nrn\bin\nrniv.exe

R6034
An application has made an attempt to load the C runtime library incorrectly.
Please contact the application's support team for more information."

Has anyone seen this error before? Tips for troubleshooting?

Re: Runtime error (R6034)

Posted: Mon Mar 28, 2016 5:51 pm
by ted
phendric wrote:One of my students is trying to get NEURON + Anaconda (Python 2.7) installed on Windows 10 (x86_64).
Followed the sequence described in https://www.neuron.yale.edu/ftp/neuron/ ... nstall.pdf ? If not, would suggest starting over (be sure to uninstall NEURON with the Uninstaller in the NEURON program group, and eliminate any nrn directory that may persist in c:\).

Re: Runtime error (R6034)

Posted: Mon Mar 28, 2016 7:11 pm
by phendric
Almost - turns out that the student already had Anaconda/Python 3.5 installed on his machine when the project was assigned...and reverting to 2.7 didn't move all the libraries it should have moved, apparently. Seems like Python 3 is becoming more and more the de facto version of Python people are learning.

We figured out a workaround...by moving to 32-bit versions of everything. But that's what it was - a work-around, not a solution.