Trouble Compiling Mod2 Files on Virtual Environment

Post Reply
tmazing
Posts: 5
Joined: Wed Feb 06, 2019 7:39 pm

Trouble Compiling Mod2 Files on Virtual Environment

Post by tmazing » Wed Feb 06, 2019 11:04 pm

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!

ted
Site Admin
Posts: 5633
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: Trouble Compiling Mod2 Files on Virtual Environment

Post by ted » Mon Feb 11, 2019 2:09 pm

How are you "importing neuron"? Exactly what code did you execute?

Post Reply