简体   繁体   中英

Having Trouble Installing Python Packages With pip

I am relatively new to python and trying to install the base64 package through my cmd (that is system32/cmd.exe <- not sure if this is relevant).

I am using python 2.7.12 64 bit pip 9.0.1

My code is:

pip install base64

My error is:

Could not find a version that statisfies the requirement base64 (from   versions : )
No matching distribution found for base64  

I was successfully able to install the datetime package, but I received the above error when trying to install pprint. So it is not directly related to base64.

Will be happy to post any other needed information at request, please give me a general idea how I can track down the information needed to solve this problem.

The pip error message means that the package was not found. Typically that means the package name is not correct. In your case, the package is imported import base64 but the actual package name is pybase64 : pip install pybase64

In similar cases you can find the correct package name by using google, for example with 'install base64 python'

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