# Cannot find micropython Servo package with Thonny

**URL:** <https://forum.core-electronics.com.au/t/cannot-find-micropython-servo-package-with-thonny/21395>\
**Category:** Micropython\
**Created:** [9 December 2024 19:46 UTC](https://forum.core-electronics.com.au/t/cannot-find-micropython-servo-package-with-thonny/21395 "2024-12-09T19:46:19Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dennis285025](https://avatars.discourse-cdn.com/v4/letter/d/7ba0ec/32.png) [@Dennis285025](https://forum.core-electronics.com.au/u/Dennis285025)\
**Post date:** [9 December 2024 19:46 UTC](https://forum.core-electronics.com.au/t/cannot-find-micropython-servo-package-with-thonny/21395/1 "2024-12-09T19:46:19Z")

</div>

Searching for micropython packages using Manage packages in Thonny does not find the Servo package.  
Searched using: micropython-servo  
Micropython v1.24.1 on 2024-11-29: Raspberry Pi Pico with RP2040  
Tried: Micropython(Raspberry Pi Pico) - Board CDC @ COM10  
MicroPython (RP2040) - Board CDC @ COM10

---

<div class="post-metadata">

**Author:** ![Jeff105671](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/jeff105671/32/3729_2.png) [@Jeff105671](https://forum.core-electronics.com.au/u/Jeff105671)\
**Post date:** [9 December 2024 20:34 UTC](https://forum.core-electronics.com.au/t/cannot-find-micropython-servo-package-with-thonny/21395/2 "2024-12-09T20:34:00Z")

</div>

Not sure why search doesn’t find it, but it’s located here:  
[servo · PyPI](https://pypi.org/project/servo/)  
You can download the package and select ‘Install from local file’ in package manager.

---

<div class="post-metadata">

**Author:** ![Dennis285025](https://avatars.discourse-cdn.com/v4/letter/d/7ba0ec/32.png) [@Dennis285025](https://forum.core-electronics.com.au/u/Dennis285025)\
**Post date:** [9 December 2024 21:34 UTC](https://forum.core-electronics.com.au/t/cannot-find-micropython-servo-package-with-thonny/21395/3 "2024-12-09T21:34:03Z")

</div>

I didn’t see on the [servo · PyPI](https://pypi.org/project/servo/) website how to download the .whl file to my laptop so I installed the servo package (pip install servo) to my laptop. The install cmd window listed where the .whl file was extracted.  
I used the “Install from local file” option on Thonny using the .whl file.  
Thanks for the help

---

<div class="post-metadata">

**Author:** ![Jeff105671](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/jeff105671/32/3729_2.png) [@Jeff105671](https://forum.core-electronics.com.au/u/Jeff105671)\
**Post date:** [9 December 2024 21:40 UTC](https://forum.core-electronics.com.au/t/cannot-find-micropython-servo-package-with-thonny/21395/4 "2024-12-09T21:40:03Z")

</div>

Thanks for letting us know that you got it sorted. The ‘Download files’ button on the servo1 page gives you the option to download [servo-1.tar.gz](https://files.pythonhosted.org/packages/6b/15/255f1982d3b3864ef6cf06c13e775843f7f88325d17e5bafcd9b953d8103/servo-1.tar.gz) which will also install from package manager.

---

<div class="post-metadata">

**Author:** ![lia262073](https://avatars.discourse-cdn.com/v4/letter/l/94ad74/32.png) [@lia262073](https://forum.core-electronics.com.au/u/lia262073)\
**Post date:** [10 December 2024 14:35 UTC](https://forum.core-electronics.com.au/t/cannot-find-micropython-servo-package-with-thonny/21395/5 "2024-12-10T14:35:24Z")

</div>

Did you check this one? [micropython-servo · PyPI](https://pypi.org/project/micropython-servo/)

---

<div class="post-metadata">

**Author:** ![Dennis285025](https://avatars.discourse-cdn.com/v4/letter/d/7ba0ec/32.png) [@Dennis285025](https://forum.core-electronics.com.au/u/Dennis285025)\
**Post date:** [11 December 2024 15:30 UTC](https://forum.core-electronics.com.au/t/cannot-find-micropython-servo-package-with-thonny/21395/6 "2024-12-11T15:30:51Z")

</div>

The servo 1 project (servo-1.tar.gz) did not work. The package is missing **main**.py as seen in the file list on the pico. I did download the .gz file from [pypi.org](http://pypi.org) and install from the .gz file.

The micopython-servo 1.0.1 (micropython\_servo-1.0.1-py3-none-any.whl) does work. I downloaded the .whl file from [pypi.org](http://pypi.org). It installed correctly and the **main**.py file is present.

Thanks again

---

<div class="post-metadata">

**Author:** ![Jeff105671](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/jeff105671/32/3729_2.png) [@Jeff105671](https://forum.core-electronics.com.au/u/Jeff105671)\
**Post date:** [11 December 2024 19:53 UTC](https://forum.core-electronics.com.au/t/cannot-find-micropython-servo-package-with-thonny/21395/7 "2024-12-11T19:53:57Z")

</div>

main.py is not part of the library. It might be included with some downloads as an example sketch.

---

<div class="post-metadata">

**Author:** ![Marc285770](https://avatars.discourse-cdn.com/v4/letter/m/aeb1de/32.png) [@Marc285770](https://forum.core-electronics.com.au/u/Marc285770)\
**Post date:** [19 December 2024 04:35 UTC](https://forum.core-electronics.com.au/t/cannot-find-micropython-servo-package-with-thonny/21395/8 "2024-12-19T04:35:47Z")

</div>

Same problem here !  
Thonny is unable to locate the micropython servo library on PyPi but it’s there.  
I’ve downloaded the two versions as the thread indicate here and try to install manually but I got an error

install install /home/lemairem/Downloads/micropython\_servo-1.0.1-py3-none-any.whl  
Looking in indexes: [http://127.0.0.1:36628](http://127.0.0.1:36628), [piwheels - Simple index](https://www.piwheels.org/simple)  
Processing /home/lemairem/Downloads/micropython\_servo-1.0.1-py3-none-any.whl  
127.0.0.1 - - [18/Dec/2024 22:56:14] “GET /install/ HTTP/1.1” 404 -  
ERROR: Could not find a version that satisfies the requirement install (from versions: none)  
ERROR: No matching distribution found for install  
Error Command ‘[’/home/lemairem/.cache/pipkin/workspaces/d12471e3dff4dc2a9742567e16f4cea8/bin/python3’, ‘-I’, ‘-m’, ‘pip’, ‘–no-color’, ‘–disable-pip-version-check’, ‘–trusted-host’, ‘127.0.0.1’, ‘install’, ‘–no-compile’, ‘–use-pep517’, ‘–upgrade-strategy’, ‘only-if-needed’, ‘install’, ‘/home/lemairem/Downloads/micropython\_servo-1.0.1-py3-none-any.whl’, ‘–index-url’, ‘[http://127.0.0.1:36628](http://127.0.0.1:36628)’]’ returned non-zero exit status 1.

Thanks for any pointers  
Marc

---

<div class="post-metadata">

**Author:** ![Zach](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/zach/32/10899_2.png) [@Zach](https://forum.core-electronics.com.au/u/Zach)\
**Post date:** [20 December 2024 00:08 UTC](https://forum.core-electronics.com.au/t/cannot-find-micropython-servo-package-with-thonny/21395/9 "2024-12-20T00:08:47Z")

</div>

Hey @Marc285770,

I seem to remember @James46717 made a post yesterday detailing that PyPi was currently being attacked by bots and had been inaccessible.

I’m unsure of the specific nature of the issues people were facing, but this could have been the root cause. Can you confirm that you are still experiencing the error today?

---

<div class="post-metadata">

**Author:** ![Marc285770](https://avatars.discourse-cdn.com/v4/letter/m/aeb1de/32.png) [@Marc285770](https://forum.core-electronics.com.au/u/Marc285770)\
**Post date:** [2 January 2025 15:53 UTC](https://forum.core-electronics.com.au/t/cannot-find-micropython-servo-package-with-thonny/21395/10 "2025-01-02T15:53:53Z")

</div>

Hi Zach,  
Sorry for the delay to answer  
I tried this morning but no success. If I type “servo” I have results for my query but “micropython servo” I still have nothing.  
Happy New Year to all by the way,  
Cheers  
Marc

---

<div class="post-metadata">

**Author:** ![Zach](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/zach/32/10899_2.png) [@Zach](https://forum.core-electronics.com.au/u/Zach)\
**Post date:** [3 January 2025 02:11 UTC](https://forum.core-electronics.com.au/t/cannot-find-micropython-servo-package-with-thonny/21395/11 "2025-01-03T02:11:38Z")

</div>

Hey @Marc285770,

Thanks for confirming! Just wanted to check your process for installing the packages manually. The error you’re receiving seems to be typically caused by some sort of incorrect data in the command. Which seems strange given you should be able to manually install it without using the terminal at all. I’ll detail the steps I’ve taken to manually install the file as per Jeff’s method from earlier in the thread.

* * *

Selecting “Tools \> Manage Packages” and then selecting “Install from local file” as seen in the image below.

 ![image](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/2/2f5890d1ff3362077b4fe99915eff9702d6a5e3f.png)

This will allow you to navigate to the download location of the .whl file and select it to be manually installed.

* * *

I assume these are the steps you’ve taken, and are still receiving the error? If so, it may be worth reading through some of the steps taken in [this Stack Overflow forum thread](https://stackoverflow.com/questions/32302379/could-not-find-a-version-that-satisfies-the-requirement-package).

It is a few years old but these solutions may prove useful still. There are also some useful debugging commands that may provide more information on the error.

Hope this helps!

---

<div class="post-metadata">

**Author:** ![Marc285770](https://avatars.discourse-cdn.com/v4/letter/m/aeb1de/32.png) [@Marc285770](https://forum.core-electronics.com.au/u/Marc285770)\
**Post date:** [6 January 2025 20:14 UTC](https://forum.core-electronics.com.au/t/cannot-find-micropython-servo-package-with-thonny/21395/12 "2025-01-06T20:14:51Z")

</div>

Hi Zach,  
Still no results. I still receive the same message that when I first tried to manually install microservo python.  
I tried a few solutions from the threads but I’m at a lost presently  
I must point out that I’m on Bookworm with a Raspberry Pi 5 as the main computer, updated today  
Marc

---

<div class="post-metadata">

**Author:** ![Marc285770](https://avatars.discourse-cdn.com/v4/letter/m/aeb1de/32.png) [@Marc285770](https://forum.core-electronics.com.au/u/Marc285770)\
**Post date:** [6 January 2025 20:38 UTC](https://forum.core-electronics.com.au/t/cannot-find-micropython-servo-package-with-thonny/21395/13 "2025-01-06T20:38:29Z")

</div>

Ok, I’ve redirected my search and the problem is still going on with no stable solution for the foreseable future 😢

---

<div class="post-metadata">

**Author:** ![Dan](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/dan/32/10815_2.png) [@Dan](https://forum.core-electronics.com.au/u/Dan)\
**Post date:** [7 January 2025 00:53 UTC](https://forum.core-electronics.com.au/t/cannot-find-micropython-servo-package-with-thonny/21395/14 "2025-01-07T00:53:11Z")

</div>

Hi @Marc285770

Looking at it, Thonny has been updated to [version 4.1.7](https://github.com/thonny/thonny/blob/master/CHANGELOG.rst) which will address the issue with not being able to find packages if you update your version of Thonny you should be able to search for them via the package manager.

 ![image](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/b/b442cb721959a7b6ecba57a75263c133dea2e501.png)
