Degrading to python 3.5 from python 3.6 on ubuntu
I have python 3.6.3 currently on my system(ubunut 16.04). but i found that python 3.6 is not supported on ubuntu 16.04 so i want to get python 3.5 on my system.
I installed it from here.
Can anyone tell in detail how to do that...
16.04 python3
add a comment |
I have python 3.6.3 currently on my system(ubunut 16.04). but i found that python 3.6 is not supported on ubuntu 16.04 so i want to get python 3.5 on my system.
I installed it from here.
Can anyone tell in detail how to do that...
16.04 python3
Please edit your question and include specific details about how exactly you installed the newer python version.
– dobey
Nov 15 '17 at 20:40
add a comment |
I have python 3.6.3 currently on my system(ubunut 16.04). but i found that python 3.6 is not supported on ubuntu 16.04 so i want to get python 3.5 on my system.
I installed it from here.
Can anyone tell in detail how to do that...
16.04 python3
I have python 3.6.3 currently on my system(ubunut 16.04). but i found that python 3.6 is not supported on ubuntu 16.04 so i want to get python 3.5 on my system.
I installed it from here.
Can anyone tell in detail how to do that...
16.04 python3
16.04 python3
edited Nov 15 '17 at 20:42
Shubham Gupta
asked Nov 15 '17 at 20:38
Shubham GuptaShubham Gupta
8310
8310
Please edit your question and include specific details about how exactly you installed the newer python version.
– dobey
Nov 15 '17 at 20:40
add a comment |
Please edit your question and include specific details about how exactly you installed the newer python version.
– dobey
Nov 15 '17 at 20:40
Please edit your question and include specific details about how exactly you installed the newer python version.
– dobey
Nov 15 '17 at 20:40
Please edit your question and include specific details about how exactly you installed the newer python version.
– dobey
Nov 15 '17 at 20:40
add a comment |
2 Answers
2
active
oldest
votes
Here, this should help.
Download python 3.5
cd /usr/src
wget https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tgz
sudo tar xzf Python-3.5.2.tgz
Install required packages
sudo apt-get install build-essential checkinstall
libreadline-gplv2-dev libncursesw5-dev libssl-dev
libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
Install python
cd Python-3.5.2
sudo ./configure
sudo make altinstall
Now check the python version python -V
add a comment |
Simplest way of installing and switching to other version of python is using pyenv
.
# Get Pyenv
curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
# add pyenv to ~/.bashrc
echo -e "export PATH="/root/.pyenv/bin:$PATH" n eval "$(pyenv init -)" n eval "$(pyenv virtualenv-init -)" " >> ~/.bashrc
source ~/.bashrc
# install python 3 via pyenv
pyenv install 3.5.6
# verify
pyenv versions
# pyenv local <version> : use this to set python version per directory.
# pyenv global <version> : use this to set python version globally.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f976805%2fdegrading-to-python-3-5-from-python-3-6-on-ubuntu%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Here, this should help.
Download python 3.5
cd /usr/src
wget https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tgz
sudo tar xzf Python-3.5.2.tgz
Install required packages
sudo apt-get install build-essential checkinstall
libreadline-gplv2-dev libncursesw5-dev libssl-dev
libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
Install python
cd Python-3.5.2
sudo ./configure
sudo make altinstall
Now check the python version python -V
add a comment |
Here, this should help.
Download python 3.5
cd /usr/src
wget https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tgz
sudo tar xzf Python-3.5.2.tgz
Install required packages
sudo apt-get install build-essential checkinstall
libreadline-gplv2-dev libncursesw5-dev libssl-dev
libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
Install python
cd Python-3.5.2
sudo ./configure
sudo make altinstall
Now check the python version python -V
add a comment |
Here, this should help.
Download python 3.5
cd /usr/src
wget https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tgz
sudo tar xzf Python-3.5.2.tgz
Install required packages
sudo apt-get install build-essential checkinstall
libreadline-gplv2-dev libncursesw5-dev libssl-dev
libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
Install python
cd Python-3.5.2
sudo ./configure
sudo make altinstall
Now check the python version python -V
Here, this should help.
Download python 3.5
cd /usr/src
wget https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tgz
sudo tar xzf Python-3.5.2.tgz
Install required packages
sudo apt-get install build-essential checkinstall
libreadline-gplv2-dev libncursesw5-dev libssl-dev
libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
Install python
cd Python-3.5.2
sudo ./configure
sudo make altinstall
Now check the python version python -V
edited Nov 28 '17 at 12:28
Videonauth
24.1k1270100
24.1k1270100
answered Nov 28 '17 at 12:22
Giannis KatsiniGiannis Katsini
211
211
add a comment |
add a comment |
Simplest way of installing and switching to other version of python is using pyenv
.
# Get Pyenv
curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
# add pyenv to ~/.bashrc
echo -e "export PATH="/root/.pyenv/bin:$PATH" n eval "$(pyenv init -)" n eval "$(pyenv virtualenv-init -)" " >> ~/.bashrc
source ~/.bashrc
# install python 3 via pyenv
pyenv install 3.5.6
# verify
pyenv versions
# pyenv local <version> : use this to set python version per directory.
# pyenv global <version> : use this to set python version globally.
add a comment |
Simplest way of installing and switching to other version of python is using pyenv
.
# Get Pyenv
curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
# add pyenv to ~/.bashrc
echo -e "export PATH="/root/.pyenv/bin:$PATH" n eval "$(pyenv init -)" n eval "$(pyenv virtualenv-init -)" " >> ~/.bashrc
source ~/.bashrc
# install python 3 via pyenv
pyenv install 3.5.6
# verify
pyenv versions
# pyenv local <version> : use this to set python version per directory.
# pyenv global <version> : use this to set python version globally.
add a comment |
Simplest way of installing and switching to other version of python is using pyenv
.
# Get Pyenv
curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
# add pyenv to ~/.bashrc
echo -e "export PATH="/root/.pyenv/bin:$PATH" n eval "$(pyenv init -)" n eval "$(pyenv virtualenv-init -)" " >> ~/.bashrc
source ~/.bashrc
# install python 3 via pyenv
pyenv install 3.5.6
# verify
pyenv versions
# pyenv local <version> : use this to set python version per directory.
# pyenv global <version> : use this to set python version globally.
Simplest way of installing and switching to other version of python is using pyenv
.
# Get Pyenv
curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
# add pyenv to ~/.bashrc
echo -e "export PATH="/root/.pyenv/bin:$PATH" n eval "$(pyenv init -)" n eval "$(pyenv virtualenv-init -)" " >> ~/.bashrc
source ~/.bashrc
# install python 3 via pyenv
pyenv install 3.5.6
# verify
pyenv versions
# pyenv local <version> : use this to set python version per directory.
# pyenv global <version> : use this to set python version globally.
answered Jan 11 at 0:21
rɑːdʒɑrɑːdʒɑ
57.5k85217301
57.5k85217301
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f976805%2fdegrading-to-python-3-5-from-python-3-6-on-ubuntu%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Please edit your question and include specific details about how exactly you installed the newer python version.
– dobey
Nov 15 '17 at 20:40