Page 1 of 1

Trouble Compiling Mod2 Files on Virtual Environment

Posted: Wed Feb 06, 2019 11:04 pm
by tmazing
Hello all! So I'm currently trying to run neuron via Python 2.7 on a virtual environment (using anaconda). I've been successful in running python, but am having trouble getting it to integrate with neuron. When I add my import neuron line, I receive this error:

Code: Select all

dlopen failed - 
dlopen(x86_64/.libs/libnrnmech.so, 2): Symbol not found: __AMPA_DynSyn_reg
  Referenced from: x86_64/.libs/libnrnmech.so
  Expected in: flat namespace
 in x86_64/.libs/libnrnmech.so
The code will still run in spite of this error. However, when trying to run a simulation, I get this error as well

Code: Select all

File "/Users/***/Desktop/GrillLab/Git/PythonCluster2/CellTemplate2_check.py", line 147, in define_biophysics
    self.soma.insert('HH2')
ValueError: argument not a density mechanism name.
This leads me to believe I'm also having a problem loading the mod files.

Does anyone have any advice? Thanks in advance!

Re: Trouble Compiling Mod2 Files on Virtual Environment

Posted: Mon Feb 11, 2019 2:09 pm
by ted
How are you "importing neuron"? Exactly what code did you execute?