You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading pymavlink to the latest, the script invocation to generate message definition:
dialects=("CS")
for i in "${dialects[@]}"; do
python -m pymavlink.generator.mavgen --lang="$i" --wire-protocol=2.0 ...
triggered the following warning:
Traceback (most recent call last):
File "/home/shared/conda/envs/swarm/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/home/shared/conda/envs/swarm/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/shared/conda/envs/swarm/lib/python3.10/site-packages/pymavlink/generator/mavgen.py", line 370, in <module>
raise DeprecationWarning("Executable was moved to pymavlink.tools.mavgen")
DeprecationWarning: Executable was moved to pymavlink.tools.mavgen
But the new file pymavlink.tools.mavgen can't be found anywhere, when I try to invoke it instead, I got the following error:
python -m pymavlink.tools.mavgen --lang="$i" --wire-protocol=2.0 ...
Error while finding module specification for 'pymavlink.tools.mavgen' (ModuleNotFoundError: No module named 'pymavlink.tools')
How can I install this module? Is it published in PyPI or conda?
The text was updated successfully, but these errors were encountered:
After upgrading pymavlink to the latest, the script invocation to generate message definition:
triggered the following warning:
But the new file
pymavlink.tools.mavgen
can't be found anywhere, when I try to invoke it instead, I got the following error:How can I install this module? Is it published in PyPI or conda?
The text was updated successfully, but these errors were encountered: