Cannot cd into $HBP / NRP folder not found/doesn't exist


#1

Cannot cd into $HBP ; NRP folder not found after standard local install as described below.

I’m trying to do the baseball experiment tutorial, but since there is no $HBP dir with its contents I cannot execute the first step in the tutorial (“cd $HBP/user-scripts”)

https://developer.humanbrainproject.eu/docs/projects/HBP%20Neurorobotics%20Platform/2.0/nrp/tutorials/baseball/tutorial.html

Linux terminal:

wizard@wiz:~/Documents$ echo $HBP
/home/wizard/Documents/NRP
wizard@wiz:~/Documents$ cd $HBP
bash: cd: /home/wizard/Documents/NRP: No such file or directory

Local install was done according to the guide: https://neurorobotics.net/local_install.html .

chmod 755 nrp_install.sh
./nrp_installer.sh install

Any help would be highly useful.


#2

Dear Valter,

If you installed with the Docker installer, the NRP is actually not installed in your normal ubuntu filesystem, but in a docker container (kind of a virtual machine).
You can access the docker container with

./nrp_installer.sh connect_backend
This will open a terminal inside the docker container and from here you can cd to $HBP and run the baseball_tutorial (you might have to install jupyter notebook with
sudo pip install jupyter
though).

To copy files to your container, you have to use scp commands from your ubuntu, The container IP address can be retrieved with ifconfig from within the container.

Best regards,
Axel