Dear Dennis,
Thank you for your response and help! The way you mention is how I did it before and with which I have the problem. So indeed that should work, but for some reason, the nest-simulator is not installed in python in the container, which is really odd.
Eventually, I'm now using NEST via the "the virtual brain multiscale"docker container, since I was planning on using tvb-multiscale eventually anyway. So it is a little bit of a workaround but I can work in NEST now.
But Dennis and Wouter, thank you for your responses!
Have a nice week! Kind regards, Nina
On Mon, Oct 25, 2021 at 10:07 AM Dennis Terhorst d.terhorst@fz-juelich.de wrote:
Dear Nina,
did you try the NEST docker containers available on DockerHub? There you would have NEST and a couple of other useful tools installed already.
docker run --rm -e LOCAL_USER_ID=`id -u $USER` -v $(pwd):/opt/data -p 8080:8080 nestsim/nest:<version> notebook
Check the "Docker" section in the docs [1] details. – I'm not sure how vscode expects it's entrypoint, the 'notebook' at the end of the command is obviously for Jupyter. Other things should however work, same as any other Docker container. You can see how these ones are constructed under 'src/<version>' here [2].
Let us know how it turns out! I think this is interesting for many people either way: for others how to do it (and for developers to document it), or we know what or where to improve.
Best, Dennis [1]: https://nest-simulator.readthedocs.io/en/v3.1/installation/index.html
On 15.10.21 12:25, Nina Doorn wrote:
Dear experts,
I have a question about using nest on docker/vscode on my windows PC. I hope this is the right place to ask since I couldn't answer my question using the troubleshooting session.
I am using docker to use pyNEST on my windows computer. I have successfully installed NEST using the instructions mentioned here for installing on docker:https://nest-simulator.readthedocs.io/en/v2.20.1/installation/index.html. If I am in the container, I have python version 3.8.10. If I run python and then try to "import nest" it says there is no module named nest. Importing other python packages works perfectly in this way. But indeed, when I look at all the installed packages using pip list, there is no package called "nest". There is, however "nest-desktop 3.0.3" there. So I guess nest is not installed. However, I also don't know how to install it. If I use pip install nest, another package called nest is installed that is not the nest simulator (according to: #754https://github.com/nest/nest-simulator/issues/754 https://github.com/nest/nest-simulator/issues/754).
Also, I don't know whether this problem is related or totally unrelated but it might give some insight: when I am in VScode in the nestsim/nest container and I click on python: select interpreter, nothing happens, I cannot select a python interpreter/no window opens. So maybe there is something wrong with the python installations or the used path?
I hope the problem is clear. I've been trying different things for days so I would greatly appreciate any help you can offer me!
Thanks in advance and have a nice day!
Kind regards,
Nina Doorn
NEST Users mailing list -- users@nest-simulator.org To unsubscribe send an email to users-leave@nest-simulator.org
-- Dipl.-Phys. Dennis Terhorst Coordinator Software Development
Institute of Neuroscience and Medicine (INM-6) Computational and Systems Neuroscience & Theoretical Neuroscience, Institute for Advanced Simulation (IAS-6) Jülich Research Centre, Member of the Helmholz Association and JARA 52425 Jülich, Germany
Building 15.22 Room 4004 Phone +49 2461 61-85062 Fax +49 2461 61- 9460d.terhorst@fz-juelich.de
Forschungszentrum Juelich GmbH, 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Volker Rieke Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Frauke Melchior
NEST Users mailing list -- users@nest-simulator.org To unsubscribe send an email to users-leave@nest-simulator.org