dronekit / dronekit-python

DroneKit-Python library for communicating with Drones via MAVLink.
https://readthedocs.org/projects/dronekit-python/
Apache License 2.0
1.58k stars 1.44k forks source link

pyinstaller connection issue.... #1112

Open KimJinHyeok1 opened 3 years ago

KimJinHyeok1 commented 3 years ago

hello now I'm develop the GCS program using dronekit and PyQT5, pyinstaller

in the pycharm everything work well!

so i make .exe file using Pyinstaller

but when i click Connect button (vehicle=connect(udpin:localhost:port))

In the console print "warning: unable to load xml validator libraries. xml validation will not be performed"

I'm doing almost solution in the internet ( ex: hidden import lxml, lxml.etree...., reinstall pyinstaller,pymavlink,mavutil...) but error is same..

I'm really don't know why that error occur only in the .exe file..

Pleeeeeeeeeease. Let me know any solution.....

Thankyou

blisshuang commented 2 years ago

i have same problem

KimJinHyeok1 commented 2 years ago

Hi. I solved that problem. Try Using CXFreeze tool, maybe all works Fine.

good luck :)

blisshuang commented 2 years ago

thank you

Reksin-Aniez commented 1 year ago

hello now I'm develop the GCS program using dronekit and PyQT5, pyinstaller

in the pycharm everything work well!

so i make .exe file using Pyinstaller

but when i click Connect button (vehicle=connect(udpin:localhost:port))

In the console print "warning: unable to load xml validator libraries. xml validation will not be performed"

I'm doing almost solution in the internet ( ex: hidden import lxml, lxml.etree...., reinstall pyinstaller,pymavlink,mavutil...) but error is same..

I'm really don't know why that error occur only in the .exe file..

Pleeeeeeeeeease. Let me know any solution.....

Thankyou

Can you share GCS details with me. I am also working on similar project