Python Forum
Need to upgrade 3.4.8 to 3.7.2
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need to upgrade 3.4.8 to 3.7.2
#1
Need to move our python project from 3.4 to 7.2 version. Can anyone suggest below:

1. Is Python 3.7.2 compatible with RHEL 7.5
2. Installation steps of Python 3.7.2 on RHEL.
3. Can Python 3.4.8 co-exist with Python 3.7.2? Are there any shared libraries or files?
4. If so, how can we make Python 3.7.2 the default version.
5. If not, can python 3.4.8 be completely removed?
6. Can we re-install Python 3.4.8 after removal? If yes, then how?
7. Any known issues with packages / libraries / drivers if we move from Python 3.4.8 to Python 3.7.2.

Thanks in Advance .. Smile Smile Smile
Reply
#2
Need to move our python project from 3.4.8 to 3.7.2 version. Can anyone suggest below:

1. Is Python 3.7.2 compatible with RHEL 7.5
2. Installation steps of Python 3.7.2 on RHEL.
3. Can Python 3.4.8 co-exist with Python 3.7.2? Are there any shared libraries or files?
4. If so, how can we make Python 3.7.2 the default version.
5. If not, can python 3.4.8 be completely removed?
6. Can we re-install Python 3.4.8 after removal? If yes, then how?
7. Any known issues with packages / libraries / drivers if we move from Python 3.4.8 to Python 3.7.2.

Thanks in Advance .. Smile Smile Smile
Reply
#3
Look at pyenv, it can help to solve all these questions.
Reply
#4
(Mar-06-2019, 12:38 PM)dipankargp Wrote: 1. Is Python 3.7.2 compatible with RHEL 7.5
Yes.
(Mar-06-2019, 12:38 PM)dipankargp Wrote: 2. Installation steps of Python 3.7.2 on RHEL.
I would recommend pyenv Simple Python Version Management
Here a article for Redhat GNU/Linux based System.
(Mar-06-2019, 12:38 PM)dipankargp Wrote: 3. Can Python 3.4.8 co-exist with Python 3.7.2? Are there any shared libraries or files?
Yes pyenv makes this simple,let say Python 3.4.8 is default Python 3 version.
pyenv install 3.7.2 and set it Global pyenv global 3.7.2.
At this point is Python 3.7.2 your Global(system wide installation).
Going back to Python 3.4.8 pyenv local system and of course back again pyenv global 3.7.2.
Quote:5. If not, can python 3.4.8 be completely removed?
I would just leave it alone.
Quote:7. Any known issues with packages / libraries / drivers if we move from Python 3.4.8 to Python 3.7.2.
No all i have tested work fine on 3.7.2.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Python Version upgrade nitinkukreja 1 897 Feb-04-2023, 10:27 PM
Last Post: Larz60+
  Upgrade makes Code Error kucingkembar 6 3,087 Jul-28-2022, 06:44 PM
Last Post: kucingkembar
  pip doesn't work after Python upgrade Pavel_47 10 4,187 May-30-2022, 03:31 PM
Last Post: bowlofred
  Upgrade from 3.7.9 to 3.7.11 quazirfan 4 5,461 Sep-08-2021, 01:02 AM
Last Post: quazirfan
  Upgrade pip error karunas 3 3,137 Nov-26-2020, 11:40 AM
Last Post: buran
  Upgrade Python Version ? JohnnyCoffee 2 2,527 Aug-08-2020, 09:56 PM
Last Post: Larz60+
  pip upgrade error most197 4 5,309 May-08-2020, 05:35 PM
Last Post: snippsat
  Can't upgrade pip Josh_Python890 3 9,372 Sep-07-2019, 06:45 PM
Last Post: Josh_Python890
  Upgrade Setuptools on Python 3.4 Alexver 2 7,925 Sep-20-2018, 06:22 AM
Last Post: Alexver
  fail to upgrade pygobject jiapei100 0 3,077 Aug-16-2018, 10:32 AM
Last Post: jiapei100

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020