Hi Nina,

So far we don't have a pip package for NEST, but we're working on it. Please uninstall the pip installed nest thing.

You want to install NEST in the image "docker/vscode" by hand? You should follow the source code install instructions: https://nest-simulator.readthedocs.io/en/stable/installation/linux_install.html#ubuntu-debian-installation.


Here you can see our dockerfile, how we install things and how we start containers (entrypoint.sh):

https://github.com/nest/nest-docker/


Best

Steffen



Am 25.10.21 um 10:51 schrieb Nina Doorn:
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

[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
-- 
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- 9460
d.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 GmbH
http://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

-- 
-------------------------------------------------------------------------------------
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 GmbH
http://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 
-------------------------------------------------------------------------------------