If you're not using Anaconda, you'll need to update Python outside of Spyder. Here's a general procedure to update Python to the latest version
Determine your current Python version: Open a terminal or command prompt and run the following command:
Visit the official Python website: Go to main site of Python and download the latest version of Python that matches your operating system.
Install Python: Run the installer you downloaded and follow the installation instructions. Make sure to select the option to add Python to your system's PATH during the installation process.
Verify the installation: After the installation is complete, open a new terminal or command prompt and run the following command:
Once you have updated Python, you can configure Spyder to use the new version:
Open Spyder.
Go to the "Python Interpreter" settings: Click on "Preferences" in the menu bar (on macOS) or "Tools" > "Preferences" (on Windows/Linux).
In the Preferences window, select the "Python Interpreter" tab.
Click on the drop-down menu labeled "Use the following Python interpreter" and select the path to the newly installed Python version. It should be something like python3.9 or python3.10.
Click "Apply" and then "OK" to save the changes.
Spyder will now use the updated Python version you specified.
Edited by Jason-Julius, 15 June 2023 - 08:32 AM.