# API Upgrade question

**URL:** <https://learn.safran-navigation-timing.com/t/api-upgrade-question/140>\
**Category:** Skydel Discussion\
**Created:** [January 14, 2021, 10:09pm UTC](https://learn.safran-navigation-timing.com/t/api-upgrade-question/140 "2021-01-14T22:09:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![richard.canning](https://avatars.discourse-cdn.com/v4/letter/r/958977/32.png) [@richard.canning](https://learn.safran-navigation-timing.com/u/richard.canning)\
**Post date:** [January 14, 2021, 10:09pm UTC](https://learn.safran-navigation-timing.com/t/api-upgrade-question/140/1 "2021-01-14T22:09:35Z")

</div>

I’m trying to get back into Python automation of Skydel after a long hiatus. I’m getting the following message when I run the “sim.connect” API command.

sim.connect(“localhost”, 1)  
Warning: Client Api Version (17) != Server Api Version (28)

OK, so I have an old API on my computer??

How do I get the versions to agree with each other?

Where do I get the new API?

I’m using 20.2.3.

---

<div class="post-metadata">

**Author:** ![mathieu.favreau](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@mathieu.favreau](https://learn.safran-navigation-timing.com/u/mathieu.favreau)\
**Post date:** [January 15, 2021, 7:15pm UTC](https://learn.safran-navigation-timing.com/t/api-upgrade-question/140/2 "2021-01-15T19:15:02Z")

</div>

Hi Richard,

Let me walk through the reason why your API doesn’t seems up to date and how to fix it.

When a new version of Skydel is installed, we copy the new version of the API in the `Skydel-SDX/API` folder (which is found in `Documents` folder by default). If you go in the `Python` folder, found inside the `API` folder, and execute your script, there should be no issues.

In order to be able to to run your script from anywhere with the new version of the API, you need to execute `python setup.py install` inside `Skydel-SDX/API/Python` folder.

Hope this clears everything up,  
Best regards,  
Mathieu

---

<div class="post-metadata">

**Author:** ![richard.canning](https://avatars.discourse-cdn.com/v4/letter/r/958977/32.png) [@richard.canning](https://learn.safran-navigation-timing.com/u/richard.canning)\
**Post date:** [January 15, 2021, 8:29pm UTC](https://learn.safran-navigation-timing.com/t/api-upgrade-question/140/3 "2021-01-15T20:29:51Z")

</div>

I was having difficulty on a few fronts. One was that I was using Anaconda and Python 2.7. Upgrading my Anaconda installation and using 3.7 helps a lot. Once I was able to run the install script, I was able to use the API effectively.

Thank you for the quick turn around on the question!
