![]() ![]() Install python-is-python3: $ sudo apt-get install python-is-python3Ģ. If you don't need it, there are at least two system-wide solutions that may make your life easier: 1. To install a different version of Python without overwriting the current version, create a new environment and install the second Python version into it: Create the new environment: To create the new environment for Python 3.9, in your terminal window or an Anaconda Prompt, run: conda create -n p圓9 python3. If you need Python2, you don't have much choice except to install it, and live with the chaos. Some applications are apparently not on board with this change, and just won't work without some help. Unfortunately, as I have learned, this change in the Ubuntu 20.04LTS distro may not have been done as well as it could. Remaining packages in Ubuntu which require Python 2.7 have been updated to use /usr/bin/python2 as their interpreter, and /usr/bin/python is not present by default on any new installs. Python 2.7 has been moved to universe and is not included by default in any new installs. In 20.04 LTS, the python included in the base system is Python 3.8. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |