Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Check all installed python versions on linux

Tags:

python

conda

I use conda(anaconda) environments and wanted to test some syntax in py3.8. Is there a way in which I can check all the installed python versions in my pc(across all conda envs).

I have tried

ls -ls /usr/bin/python*

but this doesn't include python installations in conda envs.

like image 222
Wadood Abdul Avatar asked Jun 22 '26 05:06

Wadood Abdul


1 Answers

One can search all Conda environments for the python package with

conda search --envs python

For each entry, this will give version, build, channel of origin, and the absolute location of the environment.

like image 190
merv Avatar answered Jun 23 '26 20:06

merv



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!