-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
flightmare installation issues #211
Comments
Hi, I am facing similar issue and am unable to resolve it yet. Could you please let me know if you find a solution. Thanks! |
No. David Scaramuzza team needs to take a look at it as installation is very old. |
Hi, I am facing similar issue and am unable to resolve it yet. Could you please let me know if you find a solution. |
I encountered the same issues, and here’s how I solved them. For the first issue, you can refer to this discussion: flightmare issue #208. After that, you might encounter a second issue, as described in flightmare issue #175. By applying the changes mentioned there, you should be able to resolve the problem completely. By the way, |
thank you for your record! what's the ubuntu version did you used? i encounter the same problem but can't make it |
I used Ubuntu 20.04 to solve the issue. |
thank you for your quick reply! so you successfully install flightmare in ubuntu20.04 and python3.6 right?(congratulations!!!) i am trying to do the same thing but fail for days did you complete the full installation merely by Install with pip and the two changes(pybind==2.12 and master to main), i retry many times but keep failing T_T, looking forward to your reply, congratulates for your success again! |
Yes, please proceed based on the documentation for Install with pip and make the necessary adjustments: first, change the file flightlib/cmake/pybind11_download.cmake from master to v2.12; second, change flightlib/cmake/gtest_download.cmake from master to main. Maybe you can also post the error message. I tried again and confirmed that I only need to modify these two documents in ubuntu20.04 or ubuntu22.04 and python3.6 . |
thank you for your time for retrying the installation again! however, i still got these errors below 1, after "pip install ." in /flightlib, got this failed to build opencv-python error but when i "pip install -e ." in flightrl (because pip install . will rise "No module named 'rpg_baselines.common'" error then), and then "python3 run_drone_control.py --train 0", i will get the dump error below (it confused me because i encounter this error before when i try to use python3.7 to install flightmare, at thar trail i got the exactly error) so anyway, i still can't run the flightmare at last, maybe i should change another environment for my research haha T_T soooooo much thanks for your time, i am great appreciate!!!! wish you can get your ideal experiment result! |
Yes, I also encountered the issue you mentioned. I originally thought you would solve it, so it's great to hear that you've managed to resolve the OpenCV-Python error. For your last issue, you can solve it by running:
Finally, you will get it working. |
follow your command i successfully run the demo finally! can't be more appreciate for your kind instruction ! you save me from desperate!!!!!!!!!!!!!!!!!!!!!!!!!! so for the afterward researchers who struggle to install flightmare in ubuntu20.04 and python3.6, please just follow our discussion and try one more time before you give up! thank you Jinwei !!! |
Have you ever encountered such an error when installing flightmare, I fell into the trap of pain just like you Building wheel for flightgym (setup.py) ... error
|
sorry i didn't meet the same error. |
Hello, Thank you so much for sharing this amazing work. Really grateful for this. I tried to install it following the installation guides give here and got following error:
To resolve this issue, I changed the conda environment from Python 3.6 to 3.8. Then, I got an issue of
googletest
repository. I downloaded it locally. Then, I hit an issue inCMakeLists.txt
file inflightlib
. So, I modifed it to:Then, I also faced issue with
setup.py
file in flightlib. So, I changed it toThen, I ran into issues with dependencies, i resolved them by running
Finally, I got successful installation. However, when I tried to run
I got a problem
ModuleNotFoundError: No module named 'tensorflow'
. Upon further reading, I found that I cannot install Tensorflow 1 version because it is not compatible for Python 3.8. This repository is using Tensorflow 1. In conclusion, this repository is not working Python 3.6 and if we use Python 3.8, we get issues with Tensorflow 1. Any solution? Thank you.The text was updated successfully, but these errors were encountered: