Search found 35 matches
- Thu Dec 11, 2014 5:13 pm
- Forum: NEURON + Python
- Topic: What sets the sys.path for nrniv -python?
- Replies: 5
- Views: 4820
Re: What sets the sys.path for nrniv -python?
Note: I can get around this by first executing: python then from neuron import gui import sys sys.path which then gives me the access that i need ['', '/Users/milsteina', '/Applications/NEURON-7.3/nrn/lib/python', '/anaconda/lib', '/anaconda/lib/python27.zip', '/anaconda/lib/python2.7', '/anaconda/l...
- Thu Dec 11, 2014 4:44 pm
- Forum: NEURON + Python
- Topic: What sets the sys.path for nrniv -python?
- Replies: 5
- Views: 4820
What sets the sys.path for nrniv -python?
When I execute nrniv -python then import sys sys.path i get: ['', '', '', '/Users/milsteina', '/Applications/NEURON-7.3/nrn/lib/python', '/anaconda/lib', '/usr/lib/python27.zip', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-darwin', '/usr/lib/python2.7/plat-mac', '/usr/lib/python2.7/plat-mac/lib-s...
- Mon Apr 28, 2014 3:30 pm
- Forum: OS X
- Topic: Problem with using neuron module from Python 2.7 in PyCharm
- Replies: 6
- Views: 12850
Re: Problem with using neuron module from Python 2.7 in PyCh
It appears that something more severe might be going on. If I type nrngui -python main.hoc from the command line, everything is fine, i can execute python commands, load .hoc files via h, run simulations, etc. but if i try to execute from a python shell: from neuron import h h('load_file("nrngu...
- Mon Apr 28, 2014 1:47 pm
- Forum: OS X
- Topic: Problem with using neuron module from Python 2.7 in PyCharm
- Replies: 6
- Views: 12850
Re: Problem with using neuron module from Python 2.7 in PyCh
Can you make sure that the version you are using has a banner that mentions 'ansi-1078'? When I import I get this banner: NEURON -- VERSION 7.3 ansi (1085:e3c59dffa8e7) e3c59dffa8e7 Duke, Yale, and the BlueBrain Project -- Copyright 1984-2014 Does that mean it's the wrong version? I should mention ...
- Mon Apr 28, 2014 12:02 pm
- Forum: OS X
- Topic: Problem with using neuron module from Python 2.7 in PyCharm
- Replies: 6
- Views: 12850
Problem with using neuron module from Python 2.7 in PyCharm
Hello, First of all, I am amazed that such a small team is somehow able to heroically troubleshoot the problems of an army of users that have different machines with different software versions. Thank you for your help. My ultimate goal is to be able to run network models on a cluster, with python c...