Win installation does not recognize packages (numpy)

Post Reply
Posts: 41
Joined: Tue Mar 30, 2010 5:33 pm

Win installation does not recognize packages (numpy)

Post by sgratiy » Sun Jun 22, 2014 1:53 pm

I was trying to install NEURON and run it with python as an interpreter on my laptop just before the parallel course. However, my windos 32 installation is having issues as it refuses to recognize numpy and gives error message "ImportError: No module named testing". Please see below the output from mintty_bash:

Code: Select all

bash-4.1$ nrniv -python
NEURON -- VERSION 7.3 ansi (1078:2b0c984183df) 2014-04-04
Duke, Yale, and the BlueBrain Project -- Copyright 1984-2014

>>> import numpy as np
Traceback (most recent call last):
  File "stdin", line 1, in <module>
  File "/cygdrive/c/nrn73/lib/python2.7/site-packages/numpy/", line 137, in <module>
    import add_newdocs
  File "/cygdrive/c/nrn73/lib/python2.7/site-packages/numpy/", line 9, in <module>
    from numpy.lib import add_newdoc
  File "/cygdrive/c/nrn73/lib/python2.7/site-packages/numpy/lib/", line 4, in <module>
    from type_check import *
  File "/cygdrive/c/nrn73/lib/python2.7/site-packages/numpy/lib/", line 8, in <module>
    import numpy.core.numeric as _nx
  File "/cygdrive/c/nrn73/lib/python2.7/site-packages/numpy/core/", line 40, in <module>
    from numpy.testing import Tester
ImportError: No module named testing
Any suggestions? Thanks in advance

Site Admin
Posts: 5727
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine

Re: Win installation does not recognize packages (numpy)

Post by ted » Fri Jun 27, 2014 12:45 am

Did the path settings we tried earlier today at the NEURON course fix the problem?

Post Reply