[Python] IPython installation on Mac

Discussão em 'Python' iniciado por Stack, Maio 7, 2025.

  1. Stack

    Stack Membro Participativo

    I have uninstalled Anaconda on Mac and am now trying to install IPython using pip3.

    When I try to install IPython, I get a prompt, "User for us-central1-python.pkg.dev: ". This asks for username and password. What should I enter here? I use GCP, and I have installed gsutil. I'm not sure if this is due to any GCP artifact. As root:

    cd ~
    python --version


    Output:

    zsh: command not found: python


    And:

    python3 --version


    Output:

    Python 3.9.6


    And:

    pip3 install ipython


    Output:

    Defaulting to user installation because normal site-packages is not writeable
    Looking in indexes: https://pypi.org/simple, https://us-central1-python.pkg.dev/workspace_code/analyticsv2-pypi/simple/
    User for us-central1-python.pkg.dev:


    I verified file ~/.pip/pip.conf. It has an entry as below

    File ~/.pip/pip.conf


    [global]
    extra-index-url = https://us-central1-python.pkg.dev/workspace_code/analyticsv2-pypi/simple/

    Continue reading...

Compartilhe esta Página