Win installation does not recognize packages (numpy)

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

Win installation does not recognize packages (numpy)

Post 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
ted
Site Admin
Posts: 6287
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: Win installation does not recognize packages (numpy)

Post by ted »

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