{"action":"created","issue":{"url":"https://api.github.com/repos/pgleeson/neurotune/issues/1","labels_url":"https://api.github.com/repos/pgleeson/neurotune/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/pgleeson/neurotune/issues/1/comments","events_url":"https://api.github.com/repos/pgleeson/neurotune/issues/1/events","html_url":"https://github.com/pgleeson/neurotune/issues/1","id":80973624,"number":1,"title":"Running into errors trying to run examples/example_2/optimization.py","user":{"login":"travs","id":7369273,"avatar_url":"https://avatars.githubusercontent.com/u/7369273?v=3","gravatar_id":"","url":"https://api.github.com/users/travs","html_url":"https://github.com/travs","followers_url":"https://api.github.com/users/travs/followers","following_url":"https://api.github.com/users/travs/following{/other_user}","gists_url":"https://api.github.com/users/travs/gists{/gist_id}","starred_url":"https://api.github.com/users/travs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/travs/subscriptions","organizations_url":"https://api.github.com/users/travs/orgs","repos_url":"https://api.github.com/users/travs/repos","events_url":"https://api.github.com/users/travs/events{/privacy}","received_events_url":"https://api.github.com/users/travs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-05-26T13:56:06Z","updated_at":"2015-06-03T08:48:37Z","closed_at":null,"body":"I think this may be a problem with the `neuron` dependency on my end. I'm using Ubuntu 14.04, python 2.7.6, and I am installing `neuron` just with `pip install neuron`.\r\n\r\n[From this page](https://pypi.python.org/pypi/NEURON/7.2.536.16), it looks like pypi's `neuron` just redirects to `pyneuron`, which is windows only, from what I can tell.\r\n\r\nI have also tried using `neuronpy` as listed in the \"soft dependencies\" for this package, but it doesn't seem to have `neuronpy.h`, which is what this file needs to run.\r\n\r\n@pgleeson \r\nIs this file meant to be run on windows, or is there a better way to install `neuron` that I'm not taking advantage of?\r\n\r\nDump of the error I received:\r\n```\r\n$ python optimization.py \r\nTraceback (most recent call last):\r\n  File \"optimization.py\", line 9, in <module>\r\n    from neuron import h\r\n  File \"/home/travis/worm/neurotune/venv/local/lib/python2.7/site-packages/neuron/__init__.py\", line 81, in <module>\r\n    import neuron.hoc\r\nImportError: libnrnpython.so.0: cannot open shared object file: No such file or directory\r\n```"},"comment":{"url":"https://api.github.com/repos/pgleeson/neurotune/issues/comments/108251053","html_url":"https://github.com/pgleeson/neurotune/issues/1#issuecomment-108251053","issue_url":"https://api.github.com/repos/pgleeson/neurotune/issues/1","id":108251053,"user":{"login":"pgleeson","id":1556687,"avatar_url":"https://avatars.githubusercontent.com/u/1556687?v=3","gravatar_id":"","url":"https://api.github.com/users/pgleeson","html_url":"https://github.com/pgleeson","followers_url":"https://api.github.com/users/pgleeson/followers","following_url":"https://api.github.com/users/pgleeson/following{/other_user}","gists_url":"https://api.github.com/users/pgleeson/gists{/gist_id}","starred_url":"https://api.github.com/users/pgleeson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgleeson/subscriptions","organizations_url":"https://api.github.com/users/pgleeson/orgs","repos_url":"https://api.github.com/users/pgleeson/repos","events_url":"https://api.github.com/users/pgleeson/events{/privacy}","received_events_url":"https://api.github.com/users/pgleeson/received_events","type":"User","site_admin":false},"created_at":"2015-06-03T08:48:37Z","updated_at":"2015-06-03T08:48:37Z","body":"@travs, this does seem like a problem with Neuron/nenivmodl and/or matplotlib on your machine. Try: https://github.com/OpenSourceBrain/GranCellSolinasEtAl10/blob/master/NEURON/test.py. Until you can get a model like that running you won't get examples 1/2 running successfully."}}