uzh-rpg / agile_flight

Developing and Comparing Vision-based Algorithms for Vision-based Agile Flight
MIT License
152 stars 55 forks source link

ModuleNotFoundError: No module named 'rpg_baselines.torch' #5

Closed LuanBaviloni closed 2 years ago

LuanBaviloni commented 2 years ago

image

rshube commented 2 years ago

I ran into this issue as well- a quick fix for me was to change line 19 in flightmare/flightpy/flightrl/setup.py from packages=['rpg_baselines'], to packages=find_packages(),

Hope this helps!

yun-long commented 2 years ago

alternatively, you can append the rpg_baselines path to your python path

export PYTHONPATH="${PYTHONPATH}:/path/to/flightpy/flightrl"
LuanBaviloni commented 2 years ago

Solved! Thank you guys!