> > It should not be necessary to install NEURON as a Python package -
> > PyNN should work fine using nrniv -python. Let me know if you have
> > problems with this.
>
> Hi Andrew,
>
> I tried this and after doing 'from pyNN.neuron import *' got
>
> Traceback (most recent call last):
> File "stdin", line 1, in <module>
> ImportError: No module named pyNN.neuron
>
> Possibly it's a path issue (?) but I have set PYTHONPATH to include
> the site-packages directory so it should be finding pyNN!
It definitely seems to be a path problem. Take a look at sys.path, and
check that the site-packages directory is in it. Maybe nrniv -python
isn't picking up the PYTHONPATH variable?
> Also, should pyNN work with the standard windows install of Neuron?
> I just noticed there was a nrngui_python link but trying the import in
> that gives
> me the same error.
I think so, but I think it installs its own version of Python, so it
might have its own site-packages directory.
Cheers,
Andrew