![](/img/trans.png)
[英]I have python 2.7 and 3.6 installed on my mac. How to find the version of pip associated with Python3?
[英]I have two python 3 versions on my Mac. How do I use the new version and/remove the old one?
我安裝了 Python 3.6.5 和 Python 3.7.4。
python --version
給我 3.6,而
python3 --version
給我 3.7。 在 PyCharm 中運行代碼表明它仍在使用 3.6。 如何更新它以開始使用 3.7,和/或刪除 3.6?
我環顧了 SO 和其他論壇,但到目前為止,似乎沒有與此特定問題相關的內容。
如果您想保留其他 Python 版本並希望 PyCharm 在 3.7 版本中運行您的代碼,您只需進入 PyCharm 首選項並將項目解釋器設置為 3.7。
這是一個堆棧溢出問題,向您展示如何
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.