аватар question@mail.ru · 01.01.1970 03:00

How to change the Python version to Ubuntu

I installed Ubuntu, as I understood with it, Python2.7 was installed in the folder /home/user/.local/lib I installed Python3.5 After that through the PIP I download all kinds of library in particular scip and it is installed in the python2.7 folder, but I do not use the 2nd version Python.

Help me either remove Python 2.7, or priority 3.5. In Guugle I can’t find enough information to solve.

аватар answer@mail.ru · 01.01.1970 03:00

Use pip3 or python3 -m pip to launch PIP for Python 3

  $ pip3 --versionpip 9.0.1 from /home/r033/.local/lib/python3.5/site-packages (Python 3.5)  $ python3 -m pip --versionpip 9.0.1 from /home/r033/.local/lib/python3.5/site-packages (python 3.5)     

also libraries can be installed through the Ubuntu repository, if they are there.

  Sudo Aptall Python3-Scipy                                      

Latest

Similar