NRP Installation Error


#1

When I install NRP in a new Ubuntu 16, during step “./update_nrp build all”, there is an error occur related to ExDBackend.
There error is
Obtaining file:///home/bing/Documents/NRP/ExDBackend/hbp_nrp_cleserver
Exception:
Traceback (most recent call last):
File “/home/bing/.opt/platform_venv/local/lib/python2.7/site-packages/pip/basecommand.py”, line 215, in main
status = self.run(options, args)
File “/home/bing/.opt/platform_venv/local/lib/python2.7/site-packages/pip/commands/install.py”, line 335, in run
wb.build(autobuilding=True)
File “/home/bing/.opt/platform_venv/local/lib/python2.7/site-packages/pip/wheel.py”, line 749, in build
self.requirement_set.prepare_files(self.finder)
File “/home/bing/.opt/platform_venv/local/lib/python2.7/site-packages/pip/req/req_set.py”, line 380, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File “/home/bing/.opt/platform_venv/local/lib/python2.7/site-packages/pip/req/req_set.py”, line 521, in _prepare_file
req_to_install.check_if_exists()
File “/home/bing/.opt/platform_venv/local/lib/python2.7/site-packages/pip/req/req_install.py”, line 1036, in check_if_exists
self.req.name
File “/home/bing/.opt/platform_venv/local/lib/python2.7/site-packages/pip/_vendor/pkg_resources/init.py”, line 558, in get_distribution
dist = get_provider(dist)
File “/home/bing/.opt/platform_venv/local/lib/python2.7/site-packages/pip/_vendor/pkg_resources/init.py”, line 432, in get_provider
return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
File “/home/bing/.opt/platform_venv/local/lib/python2.7/site-packages/pip/_vendor/pkg_resources/init.py”, line 968, in require
needed = self.resolve(parse_requirements(requirements))
File “/home/bing/.opt/platform_venv/local/lib/python2.7/site-packages/pip/_vendor/pkg_resources/init.py”, line 859, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
ContextualVersionConflict: (Jinja2 2.10 (/home/bing/.opt/platform_venv/lib/python2.7/site-packages), Requirement.parse(‘Jinja2==2.7.1’), set([‘hbp-nrp-cleserver’]))

And,
/home/bing/Documents/NRP/user-scripts/nrp_functions: line 365: /home/bing/Documents/NRP/CLE/ubuntu_fix_cv2.sh: No such file or directory
ERROR

Could someone help me with this?


#2

By the way, the error regarding the “Obtaining file:///home/bing/Documents/NRP/ExDBackend/hbp_nrp_cleserver” is gone


#3

You can download the script from https://bitbucket.org/hbpneurorobotics/cle/src/aa534f102d60cba9a5a8c5b58295ced46f588926/?at=master.

Just put in your CLE folder under NRP, set executable permissions for that file and rerun the build. Worked for me.

Sadly, the clone script clones from the development CLE branch, which does not contain the script anymore. The build script for CLE should be fixed by someone?