Page 1 of 1

Neuron for Mac version 10.8.4

Posted: Wed Jul 24, 2013 7:35 pm
by Kim Ha
Hi Ted,
I try to set up Neuron for my new Macbook. The following appear in neuron command window

Code: Select all

Last login: Thu Jul 25 06:30:43 on ttys000
wirelessprvnat-172-16-214-72:~ hapham$ cd ; clear; cp .nrn_as2sh /tmp/nrn_as2sh$$; sh /tmp/nrn_as2sh$$;rm -f /tmp/nrn_as2sh$$ ; exit





















-e 
NEURON -- Release 7.3 (849:5be3d097b917) 5be3d097b917
Duke, Yale, and the BlueBrain Project -- Copyright 1984-2013
See http://www.neuron.yale.edu/neuron/credits

Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 565, in <module>
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 547, in main
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 278, in addusersitepackages
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 253, in getusersitepackages
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 243, in getuserbase
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/sysconfig.py", line 523, in get_config_var
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/sysconfig.py", line 419, in get_config_vars
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/sysconfig.py", line 298, in _init_posix
IOError: invalid Python installation: unable to open /usr/include/python2.7/pyconfig.h (No such file or directory)
nrngui exit status was 1
Press return key to exit


Can you show me the problem here?
Thanks a lot!

Re: Neuron for Mac version 10.8.4

Posted: Wed Jul 24, 2013 11:34 pm
by ted
I've never seen anything like this. Which dmg file are you using, or did you try to install from source code?

Re: Neuron for Mac version 10.8.4

Posted: Thu Jul 25, 2013 7:25 am
by hines
That is the normal sequence of commands needed to launch from an icon. Generally the terminal window scrolls up a page so you do not see it
(although you might see a '-e' as the top line before the NEURON banner). Anyway, is that the only line printed and you do not see the NEURON
banner? As Ted inquired, what is the url of the installer you used?

Re: Neuron for Mac version 10.8.4

Posted: Thu Aug 08, 2013 6:02 am
by Kim Ha
Ted and Hines,
The dmg file I am using is nrn-7.3.x86_64-apple-OSX10.7.dmg.

Re: Neuron for Mac version 10.8.4

Posted: Thu Aug 08, 2013 7:39 am
by hines
Did you drag the dmg contents, NEURON-7.3, into /Applications?
Did you install the xcode command line tools (to allow compiling and linking mod files?)
Did the system request that you install X11?