18.04: issues with native installation
Created by: ddimarco
When following the native installation instructions (from https://ternaris.com/marv-robotics/docs/install/native.html#marv-robotics), it seems like one python module is missing (i.e. code/marv-ludwig
):
$ cd marv-robotics
$ ./scripts/setup-venv requirements.txt venv
Running virtualenv with interpreter /usr/bin/python2.7
New python executable in /home/did3si/marv-robotics/venv/bin/python2.7
Also creating executable in /home/did3si/marv-robotics/venv/bin/python
Installing setuptools, pkg_resources, pip, wheel...done.
...
code/marv-ludwig should either be a path to a local project or a VCS url beginning with svn+, git+, hg+, or bzr+
...
This does not seem to be critical though, so we continue the steps as described in the documentation:
$ source venv/bin/activate
$ marv --help
Traceback (most recent call last):
File "/home/did3si/marv-robotics/venv/bin/marv", line 11, in <module>
load_entry_point('marv-cli', 'console_scripts', 'marv')()
File "/home/did3si/marv-robotics/code/marv-cli/marv_cli/__init__.py", line 117, in cli
ep.load()
File "/home/did3si/marv-robotics/venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2322, in load
return self.resolve()
File "/home/did3si/marv-robotics/venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2328, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/did3si/marv-robotics/code/marv/marv/__init__.py", line 27, in <module>
from marv_webapi.tooling import api_endpoint
File "/home/did3si/marv-robotics/code/marv/marv_webapi/__init__.py", line 34, in <module>
from marv_robotics.webapi import robotics
ImportError: No module named marv_robotics.webapi