Having Trouble Installing Python Packages With pip
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'
user3390310
Updated on June 04, 2022Comments
-
user3390310 almost 2 years
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.
-
gotit almost 5 yearsThis seems incorrect. pybase64 is just a wrapper around original Lib/base64 developed by a third party developer claiming better performance pypi.org/project/pybase64 Original base64 library ships alongside core distribution. Example; github.com/python/cpython/blob/3.7/Lib/base64.py