Search found 1690 matches

by hines
Wed May 18, 2022 8:20 pm
Forum: MSWin
Topic: NEURON 7.6.7 - Permission denied. Python not available.
Replies: 21
Views: 39298

Re: NEURON 7.6.7 - Permission denied. Python not available.

The syntax for set statements in a command prompt terminal does not allow spaces surrounding the '=' . I don't know how they crept into the code fragment above. Please try again in a command prompt the following set NRN_PYTHONHOME=C:/Users/amalu/anaconda3 set NRN_PYLIB=C:/Users/amalu/anaconda3/pytho...
by hines
Wed May 18, 2022 4:04 pm
Forum: MSWin
Topic: NEURON 7.6.7 - Permission denied. Python not available.
Replies: 21
Views: 39298

Re: NEURON 7.6.7 - Permission denied. Python not available.

try the following. Be careful about the distinction between / and \ Start a windows command line terminal and type nrniv quit() I just want to verify that you can launch nrniv but also get the error. Then set NRN_PYTHONHOME = C:/Users/amalu/anaconda3 set NRN_PYLIB = C:/Users/amalu/anaconda3/python38...
by hines
Wed May 18, 2022 2:13 pm
Forum: MSWin
Topic: NEURON 7.6.7 - Permission denied. Python not available.
Replies: 21
Views: 39298

Re: NEURON 7.6.7 - Permission denied. Python not available.

If you use the bash terminal that is installed with NEURON, it suffices to copy/paste into that terminal window export NRN_PYTHONHOME = "C:/Users/amalu/anaconda3" export NRN_PYLIB = "C:/Users/amalu/anaconda3/python38.dll" And, by the way none of this is needed if you launch pytho...
by hines
Wed May 18, 2022 8:55 am
Forum: MSWin
Topic: NEURON 7.6.7 - Permission denied. Python not available.
Replies: 21
Views: 39298

Re: NEURON 7.6.7 - Permission denied. Python not available.

nrnpyenv.sh has changed a bit over the past few years as it occasionally needs tweaking when new python installations become available. I suggest the experiment of replacing c:\nrn\bin\nrnpyenv.sh with https://github.com/neuronsimulator/nrn/blob/master/bin/nrnpyenv.sh The purpose of the script is to...
by hines
Fri Mar 25, 2022 12:38 pm
Forum: NetPyNE
Topic: After updating to MacOS 12.3 Monterey
Replies: 5
Views: 13867

Re: After updating to MacOS 12.3 Monterey

Perhaps you have not installed the xcode command line tools. From a Terminal, type xcode-select --install and see if that fixes the problem. Although I'm curious about why you had a import error when importing neuron after a package install. No need to pursue that now since your pip install fixed th...
by hines
Thu Mar 17, 2022 8:55 am
Forum: OS X
Topic: MacOS 12.3; Application "Terminal" can't be opened. -1703
Replies: 4
Views: 14054

Re: MacOS 12.3; Application "Terminal" can't be opened. -1703

Have to admit I'm stuck. See: https://github.com/neuronsimulator/nrn/issues/1708 I can see the Terminal via the Finder in /Applications/Utilities But from a Terminal hines@Michaels-MacBook-Pro-2 ~ % ls -al /Applications/Utilities total 0 drwxr-xr-x 4 root wheel 128 Mar 16 18:45 . drwxrwxr-x 18 root ...
by hines
Wed Mar 16, 2022 8:47 pm
Forum: OS X
Topic: MacOS 12.3; Application "Terminal" can't be opened. -1703
Replies: 4
Views: 14054

Re: MacOS 12.3; Application "Terminal" can't be opened. -1703

I just upgraded to 12.3 and am experiencing the same issue when double clicking the nrngui or neurondemo icon. I'll try to diagnose and fix this. Meanwhile, a possible work around is to manually start a terminal window and launch neurondemo or nrngui from there by typing those names into the termina...
by hines
Thu Feb 17, 2022 12:46 pm
Forum: Getting started
Topic: Running tests after building from source
Replies: 3
Views: 8130

Re: Running tests after building from source

The ctest -VV command could not find tests. I'm not seeing a problem with that (when launched from the build folder). It verbosely executed all tests. Not sure what went wrong in your case. Please copy the error message here. test_bbss.py produced errors about HocObject no attribute 'Follower'. Cha...
by hines
Wed Feb 09, 2022 12:57 pm
Forum: MSWin
Topic: Error after install NEURON 8 using rxd
Replies: 4
Views: 13698

Re: Error after install NEURON 8 using rxd

What is the NEURON version you are using and what is the launch command you use to experience the problem. Also what version do you see when you start a bash terminal and run gcc -v I'll see if I can reproduce the issue on a bare machine. Maybe the NEURON installer is missing a file needed to compil...
by hines
Wed Nov 17, 2021 8:12 pm
Forum: OS X
Topic: Intel MKL Fatal error when executing HOC file
Replies: 7
Views: 25329

Re: Intel MKL Fatal error when executing HOC file

INTEL MKL ERROR I don't have an answer to that problem. I suspect that launching your Python sets up a more elaborate environment for finding modules and libraries than launching nrniv is able to do just from PYTHONHOME and dynamically loading the Python library. I had forgotten to ask what is outp...
by hines
Mon Nov 15, 2021 7:13 pm
Forum: OS X
Topic: Intel MKL Fatal error when executing HOC file
Replies: 7
Views: 25329

Re: Intel MKL Fatal error when executing HOC file

Ok. So NEURON without Python seems to be working correctly. If that is sufficient functionality for you, we can close the issue. However, if you do wish to combine the functionality of Python and NEURON, we can continue the diagnosis. The next step would be to launch python and see if you can import...
by hines
Mon Nov 15, 2021 6:41 am
Forum: OS X
Topic: Intel MKL Fatal error when executing HOC file
Replies: 7
Views: 25329

Re: Intel MKL Fatal error when executing HOC file

lipo -arches /Applications/NEURON/bin/nrniv Sorry about the typo. I meant lipo -archs /Applications/NEURON/bin/nrniv But no matter, from your other comments, I already know it will be x86_64 and not arm64. To see if your installation of Python or NEURON or the combination is to blame, try executing...
by hines
Thu Nov 11, 2021 7:22 pm
Forum: OS X
Topic: nrngui not opening main menu GUI on startup on M1 Mac
Replies: 13
Views: 22952

Re: nrngui not opening main menu GUI on startup on M1 Mac

Please drag the /Applications/NEURON folder to the trash to uninistall and install the file https://github.com/neuronsimulator/nrn/releases/download/8.0a/nrn-8.0a-690-g3ddaecc21-osx-arm64-py-38-39.pkg 1) This will look under /opt/X11 for the xquartz libraries instead of /opt/homebrew/opt/libx11. 2) ...
by hines
Wed Nov 10, 2021 7:48 pm
Forum: OS X
Topic: nrngui not opening main menu GUI on startup on M1 Mac
Replies: 13
Views: 22952

Re: nrngui not opening main menu GUI on startup on M1 Mac

I asked that you launch idraw. Also I wondered if you had made the symbolic link and so asked for what was printed by ls -l /opt/homebrew/opt/libx11/lib/libX11.6.dylib But no matter, I think it is necessary that I create a new installer where idraw and nrniv look in /opt/X11/lib for the X11 library....