You are not logged in.

#1 2022-01-08 06:57:31

jamesjohnson1097
Member
Registered: 2015-10-15
Posts: 6

How anaconda was able to change the python version ?

Hi, I had difficulty in downgrading python version. However when i installed anaconda and typed python command in terminal, my python version has been changed from 3.10 to 3.6. How is that possible?. Is there a way to change python version system wide without using anaconda . If so, can you teach me. Thank you.

Offline

#2 2022-01-08 08:03:59

seth
Member
Registered: 2012-09-03
Posts: 51,017

Re: How anaconda was able to change the python version ?

You can install older versionso python in parallel to the current one, https://wiki.archlinux.org/title/Python#Old_versions
I assume what anaconda did was to install an older python version and either manipulate your path or the /usr/bin/python symlink

echo $PATH
stat /usr/bin/python

Offline

#3 2022-01-08 20:44:04

teckk
Member
Registered: 2013-02-21
Posts: 519

Re: How anaconda was able to change the python version ?

Offline

#4 2022-01-08 23:46:46

AndroGR
Member
From: Athens, Greece.
Registered: 2021-10-15
Posts: 53

Re: How anaconda was able to change the python version ?

jamesjohnson1097 wrote:

Hi, I had difficulty in downgrading python version. However when i installed anaconda and typed python command in terminal, my python version has been changed from 3.10 to 3.6. How is that possible?. Is there a way to change python version system wide without using anaconda . If so, can you teach me. Thank you.

Probably it installed it's own version and now either you've got both or just 3.6. Try reinstalling Python through pacman to see if pacman can still recognize the package.


Arch | AMD Ryzen 5 1500X | AMD Radeon RX550 4GB | 16GB RAM (3200Mhz) | KDE Plasma | Linux Zen / Custom Kernel

Offline

#5 2022-01-09 07:23:33

seth
Member
Registered: 2012-09-03
Posts: 51,017

Re: How anaconda was able to change the python version ?

In order to see whether the files provided by the arch package have been replaced you'd rather check

pacman -Qkk python

Offline

Board footer

Powered by FluxBB