![]() ![]() Use ‘update-alternatives’ to choose which to link to. Open terminal and run command to install ‘python-is-python3’: sudo apt install python-is-python3 There are two choices to create symlink for python: install python-is-python3 or use update-alternatives command. Until HPLIP fixed the issue, the solution is either remove /usr/bin/python if you don’t need it or make it link to Python3. However, it will be created in some cases and links to either python2 or python3.Īnd the point is when Python links to Python2, HPLIP will mistakenly try to install Python 2 libraries as dependency. While python2 is python2.7, python3 links to python3.8 (or 3.9 depends on Ubuntu edition), python is not exist out-of-the-box. Thanks to Christoph Mueller, I found it has something to do with python symbolic links.Īs you may know, python2 and python3 in /usr/bin are symbolic links. Then run command: chmod u+x ~/Downloads/hplip*.runĪnd try to install it via command: ~/Downloads/hplip*.runįollow the terminal output and answer some questions to start installing the driver.Īs I said, it refuse to install in Ubuntu 20.04 because it tries to install old Python 2 binding for Qt5 as dependency in my case. 2.) Next, add executable permission by pressing Ctrl+Alt+T on keyboard to open terminal.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |