Bug#895531: Unable to import neuron in python3
Hi Étienne, Am Thu, Jan 12, 2023 at 08:57:33PM +0100 schrieb Étienne Mollier: > Note your upload didn't make it to the archive because for some > reason one of the orig.tar.gz has a discrepancy when trying to > reconstruct it from the VCS, Argh. > so I glued our changes in a version > 7.6.3-4 (to avoid confuse the BTS further and avoid git tag > collision). Hope you're okay with that? Sure I am! I'm always happy if people clean up behind me and watch my steps. ;-) Thanks a lot for your support Andreas. -- http://fam-tille.de
Bug#895531: Unable to import neuron in python3
Control: found -1 7.6.3-3 Control: severity -1 serious I realised that this bug either remained or we have a regression in version 7.6.3. This becomes obvious after I added Testsuite: autopkgtest-pkg-python to the team upload of 7.6.3-3. I also added debian/salsa-ci.yml which enables you watching the problem possibly here: https://salsa.debian.org/science-team/neuron/-/jobs/3786088 Kind regards Andreas. -- http://fam-tille.de
Bug#895531: Unable to import neuron in python3
Am Mo., 16. Apr. 2018 um 10:18 Uhr schrieb Johannes Hjorth : > > I just found the problem while going through the verbose output. I have a > subdirectory named "hoc" in my work directory which must have caused a name > conflict. > > I did a test, started python3 in another directory, imported neuron, it > worked. Then I created a new subdirectory called hoc and again started > python3 and imported neuron, it then failed. That is good to know! I'll be closing this bug, as the issue is actually something else and likely intended upstream behavior. It could be a good idea to contact NEURON upstream directly about this, as it obviously is quite confusing behavior. Cheers, Matthias -- I welcome VSRE emails. See http://vsre.info/
Bug#895531: Unable to import neuron in python3
i! Interesting, this works here without problems (vanilla Debian installation): ``` $ python3 Python 3.6.5rc1 (default, Mar 14 2018, 10:54:23) [GCC 7.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import neuron NEURON -- VERSION 7.5 master (6b4c19f) 2017-09-25 Duke, Yale, and the BlueBrain Project -- Copyright 1984-2016 See http://neuron.yale.edu/neuron/credits >>> ``` The "nrn" module is a built-in module. Do you have any bits of a different NEURON installation floating around that might interfere with the package? Could you run the Python interpreter in verbose mode (python3 -v) and try to import the module again (and paste the output)? That would help to determine what is different between the attempts to load the module. Cheers, Matthias -- I welcome VSRE emails. See http://vsre.info/
Bug#895531: Unable to import neuron in python3
package: python3-neuron 7.5-1 Unable to import neuron from python 3. See example below:? $ python3 Python 3.6.5rc1 (default, Mar 14 2018, 06:54:23) [GCC 7.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import neuron Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3/dist-packages/neuron/__init__.py", line 114, in import nrn ModuleNotFoundError: No module named 'nrn' >>> I am running Debian/testing. Linux terpsichore 4.15.0-2-amd64 #1 SMP Debian 4.15.11-1 (2018-03-20) x86_64 GNU/Linux