Hi all,
I have just found the solution to my problem, however I don’t understand why I would need to do this.
When installing the dev version of MAVProxy I could not get it to open. See below:
mavproxy.py
Traceback (most recent call last):
File "/home/dello/.local/bin/mavproxy.py", line 4, in <module>
__import__('pkg_resources').run_script('MAVProxy==1.6.1', 'mavproxy.py')
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2927, in <module>
@_call_aside
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2913, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2940, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 635, in _build_master
ws.require(__requires__)
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 943, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 829, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'MAVProxy==1.6.1' distribution was not found and is required by the application
The solution that seemed to work, was to change the permission of .local/lib to 777. Has anyone else come across this issue or was it an isolated case for me?
System ->> Virtual Box running Ubuntu 16.04 LTS
Previous permission of .local/lib ->> (0700/drwx------)