Hello,
I did a fresh install of the NRP by following the instructions on bitbucket.
The NRP was installed on a fresh install of ubuntu 18.04 in a VM (qemu with kvm).
The problem is that the netifaces package is not found:
Traceback (most recent call last):
File “/home/pkrack/Documents/NRP/ExDBackend/hbp_nrp_cleserver/hbp_nrp_cleserver/server/ROSCLESimulationFactory.py”, line 41, in
from hbp_nrp_cleserver.server import ROS_CLE_NODE_NAME, SERVICE_CREATE_NEW_SIMULATION,
File “/home/pkrack/Documents/NRP/ExDBackend/hbp_nrp_cleserver/hbp_nrp_cleserver/server/init.py”, line 31, in
from hbp_nrp_cle import config
File “/home/pkrack/Documents/NRP/CLE/hbp_nrp_cle/hbp_nrp_cle/config.py”, line 38, in
import netifaces
ImportError: No module named netifaces
[3]+ Exit 1 $HOME/.opt/platform_venv/bin/python $HBP/ExDBackend/hbp_nrp_cleserver/hbp_nrp_cleserver/server/ROSC
also further down the line there is another problem when importing NRP modules:
Traceback (most recent call last):
File “/home/pkrack/Documents/NRP/ExDBackend/hbp_nrp_backend/hbp_nrp_backend/runserver.py”, line 32, in
from hbp_nrp_backend.rest_server import app
File “./hbp_nrp_backend/rest_server/init.py”, line 83, in
from hbp_nrp_backend.rest_server.__SimulationResources import SimulationResources
File “./hbp_nrp_backend/rest_server/__SimulationResources.py”, line 34, in
from hbp_nrp_backend.rest_server.__SimulationControl import _get_simulation_or_abort
File “./hbp_nrp_backend/rest_server/__SimulationControl.py”, line 34, in
from hbp_nrp_commons.bibi_functions import docstring_parameter
File “/home/pkrack/Documents/NRP/ExDBackend/hbp_nrp_commons/hbp_nrp_commons/bibi_functions.py”, line 27, in
from hbp_nrp_commons.generated import bibi_api_gen
ImportError: cannot import name bibi_api_gen
What I tried:
activating the virtual env of the nrp platform and installing netifaces. Works but then the next package is not found so i stopped there and uninstalled the pip installed version again, since it is recommended to take the official versions from the ubuntu repos.
Also i checked that python-netifaces is installed.
I also have the entire build log. There were a few errors during the fixing problems with pynn were files were not found two sed calls. But the files were deleted jsut after the sed so I guess it is normal.