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: #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
Hello Nina,
Not an expert here, but, I did have great success installing NEST in WSL (Windows Subsystem for Linux). This is a full LINUX front-end environment in windows 10 and higher. Microsoft re implemented the LINUX API with windows native tooling allow support and installation of most standard Linux tools in windows. You can get WSL and a linux distro via the Windows Store.
Go to the store, type in Ubuntu 20.04 LTS and you have a running linux system in windows where you can then install NEST using the normal approaches.
This might be good approach if other ways fail. It is not officially supported but I have been doing NEST development this way for years and only found small challenges easy to solve.
Sincerely,
Wouter
On 15-Oct-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 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: #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
-- Wouter Klijn w.klijn@fz-juelich.de
Team Leader Multiscale simulation and design SimLab Neuroscience Jülich Supercomputing Centre Institute for Advanced Simulation Forschungszentrum Jülich http://www.fz-juelich.de/ias/jsc/slns
Office: +49 2461 61-3523 Fax # : +49 2461 61-6656
------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ 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), Dr. Astrid Lambrecht, Prof. Dr. Frauke Melchior ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------
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 -eLOCAL_USER_ID=`id -u$USER` -v$(pwd):/opt/data -p8080: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
[2]: https://github.com/nest/nest-docker
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: #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
Hi Steffen,
Thank you as well for the help. I've tried what you mentioned. And for my colleague, that works perfectly well. But somehow I have the problem I mentioned. So it might just be a personal problem.
Kind regards, Nina
On Mon, Oct 25, 2021 at 10:43 AM Steffen Graber s.graber@fz-juelich.de wrote:
Hi Nina,
On windows I successfully tried the following (a longer time ago):
docker run -it --rm -v %cd%:/opt/data -p 8080:8080 nestsim/nest:<version> <args>
or for the newest version with jupyter notebook:
docker run -it --rm -v %cd%:/opt/data -p 8080:8080 nestsim/nest:3.1 notebook
In Powershell, '%cd%' might not work for the current directory. Then you should explicitly specify a folder with existing write permissions. As Dennis said, feedback on this would be very helpful for us.
Best
Steffen
Am 25.10.21 um 10:06 schrieb Dennis Terhorst:
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
--
Steffen Graber SimLab Neuroscience Division HPC in Neuroscience Jülich Supercomputing Centre Institute for Advanced Simulation Forschungszentrum Jülich GmbH E-mail: s.graber@fz-juelich.de Phone: +49 2461 61 85457 http://www.fz-juelich.de/ias/jsc
Institute of Neuroscience and Medicine (INM-6) Computational and Systems Neuroscience & Institute for Advanced Simulation (IAS-6) Theoretical Neuroscience & JARA Institute Brain Structure-Function Relationships (INM-10) Forschungszentrum Jülich GmbHhttp://www.csn.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), Dr. Astrid Lambrecht, Prof. Dr. Frauke Melchior
NEST Users mailing list -- users@nest-simulator.org To unsubscribe send an email to users-leave@nest-simulator.org
Dear Nina,
which entrypoint do you use for the container? Did you specify "python3", or just "python"?
I think this might be just a tiny detail in the container startup settings of vscode, since NEST *is* installed in the container.
Can you import nest in the notebook, as given in the docs?
Best, Dennis
On 25.10.21 10:51, Nina Doorn wrote:
Hi Steffen,
Thank you as well for the help. I've tried what you mentioned. And for my colleague, that works perfectly well. But somehow I have the problem I mentioned. So it might just be a personal problem.
Kind regards, Nina
On Mon, Oct 25, 2021 at 10:43 AM Steffen Graber s.graber@fz-juelich.de wrote:
Hi Nina,
On windows I successfully tried the following (a longer time ago):
docker run -it --rm -v %cd%:/opt/data -p 8080:8080 nestsim/nest:<version> <args>
or for the newest version with jupyter notebook:
docker run -it --rm -v %cd%:/opt/data -p 8080:8080 nestsim/nest:3.1 notebook
In Powershell, '%cd%' might not work for the current directory. Then you should explicitly specify a folder with existing write permissions. As Dennis said, feedback on this would be very helpful for us.
Best
Steffen
Am 25.10.21 um 10:06 schrieb Dennis Terhorst:
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
--
Steffen Graber SimLab Neuroscience Division HPC in Neuroscience Jülich Supercomputing Centre Institute for Advanced Simulation Forschungszentrum Jülich GmbH E-mail: s.graber@fz-juelich.de Phone: +49 2461 61 85457 http://www.fz-juelich.de/ias/jsc
Institute of Neuroscience and Medicine (INM-6) Computational and Systems Neuroscience & Institute for Advanced Simulation (IAS-6) Theoretical Neuroscience & JARA Institute Brain Structure-Function Relationships (INM-10) Forschungszentrum Jülich GmbHhttp://www.csn.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), Dr. Astrid Lambrecht, Prof. Dr. Frauke Melchior
NEST Users mailing list -- users@nest-simulator.org To unsubscribe send an email to users-leave@nest-simulator.org
NEST Users mailing list -- users@nest-simulator.org To unsubscribe send an email to users-leave@nest-simulator.org
Dear Dennis,
I haven't specified python3, just python. I have tried it now with python3 and currently in my command prompt after running the container, docker run -it --rm -v %cd%:/opt/data -p 8080:8080 nestsim/nest:latest python3 I am in python3 and can import nest in my command prompt without a problem, so that is a step forward! However, when I am in VScode and attach to that container and run with a python 3 interpreter, there is "no module named nest" when I try to import nest. Again, there is a model named "nest_desktop", but no nest.
I have also tried in notebook and this works! So I think the problem is indeed a tiny detail in vscode settings, but I haven't figured it out yet.
Best, Nina
On Mon, Oct 25, 2021 at 11:16 AM Dennis Terhorst d.terhorst@fz-juelich.de wrote:
Dear Nina,
which entrypoint do you use for the container? Did you specify "python3", or just "python"?
I think this might be just a tiny detail in the container startup settings of vscode, since NEST *is* installed in the container.
Can you import nest in the notebook, as given in the docs?
Best, Dennis On 25.10.21 10:51, Nina Doorn wrote:
Hi Steffen,
Thank you as well for the help. I've tried what you mentioned. And for my colleague, that works perfectly well. But somehow I have the problem I mentioned. So it might just be a personal problem.
Kind regards, Nina
On Mon, Oct 25, 2021 at 10:43 AM Steffen Graber s.graber@fz-juelich.de s.graber@fz-juelich.de wrote:
Hi Nina,
On windows I successfully tried the following (a longer time ago):
docker run -it --rm -v %cd%:/opt/data -p 8080:8080 nestsim/nest:<version> <args>
or for the newest version with jupyter notebook:
docker run -it --rm -v %cd%:/opt/data -p 8080:8080 nestsim/nest:3.1 notebook
In Powershell, '%cd%' might not work for the current directory. Then you should explicitly specify a folder with existing write permissions. As Dennis said, feedback on this would be very helpful for us.
Best
Steffen
Am 25.10.21 um 10:06 schrieb Dennis Terhorst:
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 https://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
--
Steffen Graber SimLab Neuroscience Division HPC in Neuroscience Jülich Supercomputing Centre Institute for Advanced Simulation Forschungszentrum Jülich GmbH E-mail: s.graber@fz-juelich.de Phone: +49 2461 61 85457 http://www.fz-juelich.de/ias/jsc
Institute of Neuroscience and Medicine (INM-6) Computational and Systems Neuroscience & Institute for Advanced Simulation (IAS-6) Theoretical Neuroscience & JARA Institute Brain Structure-Function Relationships (INM-10) Forschungszentrum Jülich GmbHhttp://www.csn.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), Dr. Astrid Lambrecht, Prof. Dr. Frauke Melchior
NEST Users mailing list -- users@nest-simulator.org To unsubscribe send an email to users-leave@nest-simulator.org
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
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