No Module named pymavlink


while running “ --map --console” i am getting an error that “pymavlink” is not found.
But in the list I could see that it is installed.
Please let me know how to solve this issue,


I think you might have an issue wtih your PYTHONPATH environment variable that tells the interpreter where to locate the module files imported into a program. In your case, ‘pip -v’ shows that the pymavlink module is in
/home/samuel/.local/lib/python3.6/site-packages. ‘pip --verbose list | grep pymavlink’ should also show where pymavlink is located.

As an example, the following will show the contents of the PYTONPATH environemt variable on my system:

david@hp-office:~$ python
Python 2.7.17 (default, Feb 27 2021, 15:10:58)
[GCC 7.5.0] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.

import sys
for p in sys.path:
… print§



Your variable will not be the same as the above, but should contain /home/samuel/.local/lib/python3.6/site-packages, in order for the interpreter to find pymavlink.

Hope this helps.


@dsetin19 10 points

closed #4