简体   繁体   中英

I have python 2.7 and 3.6 installed on my mac. How to find the version of pip associated with Python3?

我尝试使用pip --version但是它将为我提供仅与python相关的pip版本,而不是python3。

Try using pip3 --version . Normally pip3 is the symlink to the pip associated with Python3. If that doesn't work, please provide more details as to how you installed the python versions.

您可以运行以下命令,在这里您可以将程序python更新到您拥有的任何python程序

python -m pip --version

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM