humanjas.blogg.se

Python3 version
Python3 version












python3 version

Update the alternatives table to include both Python 2.7.x and Python 3.5.x.First, we will list the available alternatives (most probably, you will get an empty list as seen in the screenshot below) We will use the update-alternatives command.

python3 version

Note the versions available (first 2 digits only)

  • First of all, check which versions of Python your system has.
  • python3 version

    We are taking only the part useful for our makerspace activities ('Change Python version System-wide'), click the link to see more options. This guide is based and inspired from the following article by LinuxConfig: How to change from default to alternative Python version on Debian Linux. Until this changes, use the following recipe to get Python setup the way you want to. There are system dependencies which need Python 2 as well. You might be asking, whether it's maybe possible to have 1 version only? (and uninstall the previous version). This is annoying - this article tells you how to make Python 3 your default Python (so you can run: 'python mycode.py'). Now if you you want to develop in Python 3 (which we recommend), you need to specify the version of Python you are using (by running: 'python3 mycode.py'). The Pi (Raspbian) comes pre-installed with 2 versions of Python. Configure Default Python version on your Pi














    Python3 version