简体   繁体   中英

Unable to install a Python package

Whenever I try to install the SpeechRecognition package within my Python environment it keeps telling me You are using pip version 10.0.1, however version 20.3.3 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command. You are using pip version 10.0.1, however version 20.3.3 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command. , However, when I check the pip version I can see that it's on the latest version. The package doesn't install and continues to show this message.

Also just an off question, what does the -m wildcard do for the pip install command?

Any ideas? Thanks in advance, -Yaseen

Try to upgrade the pip using this command:

python -m pip install --upgrade pip

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