latest python 3 not compatible in ubuntu - python-3.x

I installed python 3.8.4 in ubuntu 18.04 but still the
python3 --version
shows the version as 3.6.9
The python3.8.4 I installed was installed as python3.8 it did not replace the existing python3
how to do so?

Related

Can't install miniconda for python 3.8 because python 3.9 not found

I just downloaded miniconda Windows installer from official website. While installing got an error:
I use Windows 7 and found python 3.8 should work. Earlier I worked on Anaconda with python 3.7. Should I install Miniconda for python 3.7 though?

How to make a python version as default version in ubuntu

Am using ubuntu 20.04 ,I have two versions of python installed 3.8.5 and 3.8.2. How to make Python 3.8.2 as the default version for python3
$ python3 -V
Python 3.8.5
$ python3.8 -V
Python 3.8.2

installing python3 additional to python 2.7 on rhel server

we have rhel 7.6 servers with python 2.7
now we want additionally to python 2.7 to install the python 3.x
so both python versions will be installed
the question is about the pip version
as I understand pip latest version for python 2.7 is 20.2.3
but in case we also install python 3.x
then how to know which pip version is relevant here ?
dose pip version support both python versions?

How to switch python version from 3.6.0 to 3.6.7 on Ubuntu 18.04?

I would am currently using python version 3.6.0 on Ubuntu 18.04 and need to use python version >= 3.6.1 to use PySlice_Unpack.
I have tried installing using the following commands:
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.6
The output from these commands is:
python3.6 is already the newest version (3.6.7-1~18.04).
So it seems like I already have python 3.6.7 installed. However when I run the commands python -V, python3 -V, or python3.6 -V the output is
Python 3.6.0 :: Continuum Analytics, Inc.
In /usr/bin/ I have config files for python2.7, python3.6, python3.6m, python3, and python3m. I've looked at the python3.6 and python3 config files and they both have VERSION="3.6". How can I switch to using python version 3.6.7 instead of 3.6.0?
If you need a different version of Python (or other versions of python packages than those included in the version of Ubuntu you are using), then you might want to try using VirtualEnv, like explained in this answer: https://stackoverflow.com/a/5507373/483566

Problems with Anaconda, Spyder and Python 3.3

I have two problems with this Anaconda distribution:
Version: 1.0.0 (node-webkit 0.10.1)
Conda Version: 3.7.4
Python Version: 2.7.9.final.0
Platform: linux-64
OS: ubuntu 14.10
1) the launcher cannot launch spyder on python 3.3 even after having create the env (IPython runs well on this env). Also launching spyder from the directory is not good from the Console. Spyder doesn't start
2) in either version 3.3 and 3.4 inside ipython and also spyder (only for the version 3.4 which runs) is not able to import pandas. Should I install in every env manually (pip install pandas)? In the default root (python 2.7) I'm able to import it

Resources