BhallaLab / moose

MOOSE simulator.
http://moose.ncbs.res.in
GNU General Public License v3.0
26 stars 19 forks source link

Problem running ephys1_cable.py #248

Closed lungsi closed 5 years ago

lungsi commented 6 years ago

I have moose installed using pip install pymoose

In my attempt to run ephys1_cable.py, the one in ~/moose-examples/tutorials/Electrophys/ephys1_cable.py I am unable to run it correctly instead I get

main1 main2 main3 main4

Could it be possible that the rdesigneur module (import rdesigneur as rd) has been updated since the ephys1_cable.py example? Because there is an error

rdesigneur


For context I have provided the code below. full1 full2 full3 full4 full5 full6 full7 full8 Notice that these are exactly the same as in ~/moose-examples/tutorials/Electrophys/ephys1_cable.py, only difference is that the code blocks are in notebook format.

dilawar commented 6 years ago

Hi @lungsi

This version of moose won't run this snippet. You need to install nightly build.

$ pip install pymoose --pre --user --upgrade 

Option --pre selects the nightly version.

You may have to update matplotlib as well. Note that matplotlib has dropped support for python2. pip install matplotlib may not succeed with python2. With python2, you have to select the version pip install matplotlib==2.2.3 (I am writing this from memory, may be wrong).

On the other hand, neuroml2 support is broken with python3 (if you are using it).

You can use python3 for pymoose.

dilawar commented 5 years ago

Closing it because of no activity.