# Can not install pymavlink on blueos

**URL:** <https://discuss.bluerobotics.com/t/can-not-install-pymavlink-on-blueos/15010>\
**Category:** BlueOS\
**Created:** [September 5, 2023, 8:44pm UTC](https://discuss.bluerobotics.com/t/can-not-install-pymavlink-on-blueos/15010 "2023-09-05T20:44:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amhussey](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@Amhussey](https://discuss.bluerobotics.com/u/Amhussey)\
**Post date:** [September 5, 2023, 8:44pm UTC](https://discuss.bluerobotics.com/t/can-not-install-pymavlink-on-blueos/15010/1 "2023-09-05T20:44:54Z")

</div>

Currently can not get pymavlink to install for python on BlueOS terminal. Running pip3 install pymavlink returns the error that libxml2 and libxslt development packages are not installed. After installing them I now get the terminal frozen at ‘Building wheel for lxml (setup.py) …’ and nothing progresses.

At this point I am just trying to run some very basic pymavlink python example scripts on the companion computer and have no idea how. All my attempts lead to packages not being installed or cant be installed. I have followed the startup guides for installing all the firmware and tried following the ardusub guide.

---

<div class="post-metadata">

**Author:** ![judahwo](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@judahwo](https://discuss.bluerobotics.com/u/judahwo)\
**Post date:** [February 22, 2024, 4:45pm UTC](https://discuss.bluerobotics.com/t/can-not-install-pymavlink-on-blueos/15010/2 "2024-02-22T16:45:57Z")

</div>

I am having the same issue. Can we revive this thread?

---

<div class="post-metadata">

**Author:** ![judahwo](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@judahwo](https://discuss.bluerobotics.com/u/judahwo)\
**Post date:** [February 22, 2024, 4:46pm UTC](https://discuss.bluerobotics.com/t/can-not-install-pymavlink-on-blueos/15010/3 "2024-02-22T16:46:10Z")

</div>

Or did you find a solution yourself?

---

<div class="post-metadata">

**Author:** ![EliotBR](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/eliotbr/32/6937_2.png) [@EliotBR](https://discuss.bluerobotics.com/u/EliotBR)\
**Post date:** [February 22, 2024, 7:55pm UTC](https://discuss.bluerobotics.com/t/can-not-install-pymavlink-on-blueos/15010/4 "2024-02-22T19:55:35Z")

</div>

Hi @Amhussey, apologies for the delay on responding to this.

I’d recommend installing the Jupyter [BlueOS Extension](https://docs.bluerobotics.com/BlueOS-Extensions-Repository/), which has pymavlink pre-installed (or the OpenVSCode one, if you’re intending to do more general programming).

It’s generally not intended for the core BlueOS image to have extra libraries and the like installed within it, and if you’re trying to do so without the `red-pill` command then things you install will generally be deleted when you next reboot the vehicle.
