Neuron for Mac version 10.8.4

The basics of how to develop, test, and use models.
Post Reply
Kim Ha
Posts: 18
Joined: Sun Jun 09, 2013 11:26 pm

Neuron for Mac version 10.8.4

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

Re: Neuron for Mac version 10.8.4

Post by ted »

I've never seen anything like this. Which dmg file are you using, or did you try to install from source code?
hines
Site Admin
Posts: 1600
Joined: Wed May 18, 2005 3:32 pm

Re: Neuron for Mac version 10.8.4

Post 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?
Kim Ha
Posts: 18
Joined: Sun Jun 09, 2013 11:26 pm

Re: Neuron for Mac version 10.8.4

Post by Kim Ha »

Ted and Hines,
The dmg file I am using is nrn-7.3.x86_64-apple-OSX10.7.dmg.
hines
Site Admin
Posts: 1600
Joined: Wed May 18, 2005 3:32 pm

Re: Neuron for Mac version 10.8.4

Post 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?
Post Reply