Page 1 of 1

Win installation does not recognize packages (numpy)

Posted: Sun Jun 22, 2014 1:53 pm
by sgratiy
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
See http://www.neuron.yale.edu/neuron/credits

>>> 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/__init__.py", line 137, in <module>
    import add_newdocs
  File "/cygdrive/c/nrn73/lib/python2.7/site-packages/numpy/add_newdocs.py", line 9, in <module>
    from numpy.lib import add_newdoc
  File "/cygdrive/c/nrn73/lib/python2.7/site-packages/numpy/lib/__init__.py", line 4, in <module>
    from type_check import *
  File "/cygdrive/c/nrn73/lib/python2.7/site-packages/numpy/lib/type_check.py", line 8, in <module>
    import numpy.core.numeric as _nx
  File "/cygdrive/c/nrn73/lib/python2.7/site-packages/numpy/core/__init__.py", line 40, in <module>
    from numpy.testing import Tester
ImportError: No module named testing
>>>
Any suggestions? Thanks in advance

Re: Win installation does not recognize packages (numpy)

Posted: Fri Jun 27, 2014 12:45 am
by ted
Did the path settings we tried earlier today at the NEURON course fix the problem?