Updating the Library
Updating CoDrone EDU Python Library
Occasionally, there will be updates to the CoDrone EDU Python library. The current library version is version 2.0. You can view the changelog here.
If your version of Python is different from the CoDrone EDU library version, it can be a good idea to stay up to date (although updating your Python version is not always necessary). See Python versions available here.
You are leaving Robolink’s Documentation site. Please be aware that any website outside of our Document page will be subject to privacy policies different from this website.
- First, check your current codrone-edu library version in your project interpreter settings.
On Windows, you can find your project interpreter settings under File > Settings. On MacOS, the settings menu is under PyCharm > Settings.
Your current version is listed in the middle column. If there is a newer version available, it will be listed in the third column denoted by the 🔼 symbol.
- Double click on the library to open up the installation window. Select the checkbox "Specify version". It should default to the newest version available. Note: If you do not check the box the library will not update.
- Click "Install Package" to install the specified version (in this case, the latest version).
- Close the installation window and verify the installation in the package list.
If you have multiple projects that were set up with the default virtual environment settings, you will need to repeat this process for each PyCharm project. Updating the library in one project will not transfer over to any other projects.