![]() Higher number means higher ~# update-alternatives -install /usr/bin/python python /usr/bin/python3.5 ~# update-alternatives -install /usr/bin/python python /usr/bin/python2. You can set more alternatives the last number defines the priority. This package contains the Python 3 version of the Python plugin loader, which allows GStreamer plugins to be written in Python. To set python 3.5 as default use the update-alternatives scripts. Its plugin-based architecture means that new data types or processing capabilities can be added simply by installing new plug-ins. In my example Python 2.7 and 3.5 are installed. Lrwxrwxrwx 1 root root 9 /usr/bin/python -> python2.7Ĭheck with versions are already ~# dpkg -l | grep python ![]() The update-alternatives scripts allows to change ~# ls -l /usr/bin/python usr/bin/python is in fact a symlink to the current default versions binary. Install Python 3.9 on Debian 11 / Debian 10 Install Python 3.9 on CentOS 8 / CentOS 7 How To Install Python 2 with Virtualenv on Ubuntu YOU CAN SUPPORT OUR WORK WITH A CUP OF COFFEE As we continue to grow, we would wish to reach and impact more people who visit and take advantage of the guides we have on our blog. Debian is still delivered with 2.7 as the default version of python. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |