-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dronekit-sitl not work with new version python. #1182
Comments
what version of python are you running? |
Im using latest python, 3.9.16 I remember I tried 3.9.10,3.9.0 but I'm not sure about the version I tried. |
try a virtual environment to make sure it is not a conflict with your system install:
|
Thank you for your reply. Im already using virtual environment as you can see in my error message. do you run your dronekit sitl well in windows? |
I was able to install on my Windows 10 machine, but I have not been successful in running the sitl efficiently. I have been having a similar issue where after 10 secs, the sitl disarms the motors. The only solution is to downgrade to python3.6 and also install pymavlink==2.4.8, which both options I would prefer not to result to. |
@peterbarker Is there any plan to update Dronekit Sitl to Python 3? It's a pretty useful tool. |
Any update on this ? |
Hello.
it seems that dronekit-SITL not works with newer version python.
it generates error after I update the python.
following error message orrcurs when I connect to dronekit-sitl. :
File "C:\Users\xxx.conda\envs\xxx\lib\site-packages\dronekit\mavlink.py", line 127, in init
if ip.startswith("udpin:"):
AttributeError: 'SITL' object has no attribute 'startswith'
I changed all variable to string by str() but since I don't know about entire code structure, I failed.
The text was updated successfully, but these errors were encountered: