This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Install python in a server

Hello all,

I am trying to install python 3.7 to my server. First, I created a separate conda environment in the server using following command,

conda create --name python

Then, I activated this environment: conda activate python

After that I tried to install python 3.7 into this new environment as follows.

sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa sudo apt update sudo apt install python3.7

However, when I checked the version of python after installing this, t showed me python 2.7.6

It would be very helpful for me if you could let me know how to install python 3.7 in my server since I am new to the python use.

Thanks in advance!

python install

Python is generally symlinked to python2.x.

If you did install python 3.x then you will be able to find it by using python3. Try which python3 or simply python3 -V on command line.

Thank you for your helpful comment!. I just check it in the command line. It showed me it is python 3.4.3

I am wondering whether is there any possibility to install or upgrade into python 3.7.5

Thank you!

Thank you so much for your helpful information. I will refer to the site to install it. Thank you!

0 answers

No answers yet.

Log in to answer this question.