如何在你的電腦上檢查已安裝了哪些 Python 版本

August 10, 2025·
Chi Yau
Chi Yau
· 1 min read
post Reference

在寫 Python 或部署小工具時,常常需要知道電腦上到底安裝了哪些 Python 版本。

那麼怎樣才知道系統上安裝了哪些 Python 版本呢?

解決放法:

py -0

這個指令會列出所有安裝在系統上的 Python 版本。

py -0 output

如果想check 現在python 版本,可以用以下指令:

python --version

Hope you find it useful!

Chi Yau
Authors
App Dev
I’m Chi, a passionate tech enthusiast exploring the latest innovations in GenAI, LLMs, web development, performance tuning, and cybersecurity. As a tech guy at a startup, I aim to share my experiences, insights, and lessons learned in the fast-paced world of technology. Join me on this journey as we dive into the exciting challenges and triumphs of building and scaling tech solutions!