R
R
retren2016-04-17 16:55:38
ubuntu
retren, 2016-04-17 16:55:38

How to put python3.4-3.5 on ubuntu14.04?

Installed clean ubuntu 14.04 on the server. It appears to have 2nd branch python preinstalled (command in python -V gives python 2.7.6). I want to use python 3.4 or 3.5 together with flask, nginx and gunicorn / uwsgi, while at the request of python -V the third version of python is displayed, flask is set exactly under the third version and the python file.py command executes the file file.py using syntax 3 - her version.

How can I build this? (preferably without virtualenv)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
Ivan Bogachev, 2016-04-17
@sfi0zy

Python 3.4 should already be pre-installed in ubuntu 14.04, only it's not called python, but python3. You can check with .
You can specify it in your scripts
or make yourself an alias, like this:
alias python=python3

L
lega, 2016-04-17
@lega

www.py-my.ru/post/5390fb223ad2ff07bda0cffb
Here is an instruction on how to build a 3.4 package for u12, py3.5 (or any other) for u14 is assembled in the same way.

V
Vitaly Slyusar, 2016-04-19
@slusarvitaliy

Here is a small instruction slusar.su/izuchaem-python-n16-ustanovka-python3-na...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question