A
A
Anton2015-12-08 23:34:53
Python
Anton, 2015-12-08 23:34:53

How to update Python in a virtualenv in Ubuntu?

Created a virtual environment with pyvenv-3.5. Python 3.5.0 is used. How to update it to 3.5.1?
And why does this OS have 3 pre-installed versions of Python?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Oleg Tsilyurik, 2015-12-08
@Olej

1. If your Ubuntu repository has a more recent version, then simply upgrade the package system.
2. If not, then only build from source. There is nothing complicated about that, but you can seriously break the integrity of the package system dependencies (and if you don’t guess right with -prefix in ./configure, then you can simply ruin the system’s performance.).
3. Do you need it? What are you going to get in 3.5.1 that you don't have in 3.5.0?
4. Why 3 preset? Show them here...
Maybe 2: 2.7.X and 3.5.X?

P
Pavel, 2015-12-09
@rusbaron

add the ppa:fkrull/deadsnakes repository and wait for it to be updated to 3.5.1
Pre-installed 2, one to support 2.7 compatibility, one new 3.4
And you installed 3.5, from there and 3.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question