Having Trouble Installing Python Packages With pip

12,450

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'

Share:
12,450
user3390310
Author by

user3390310

Updated on June 04, 2022

Comments

  • user3390310
    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
    gotit almost 5 years
    This 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