简体   繁体   中英

Pip3 NOT installing with python3, unusual case?

I am trying to install pip3. I ran brew install python3 which installed python3 correctly. I also ran brew post install python3 as I found on this site.

Now, I enter which pip3 and get /usr/local/bin/pip3

And when I run pip3 I get this message: -bash: /anaconda3/bin/pip3: No such file or directory

How do I completely remove anaconda from my computer AND install pip3 from here? I deleted the anaconda application, removed the PATH from nano ~/.bash_profile. and emptied the trash

EDIT: FIXED USING hash -r

are you running pip install command in conda environment

If you are running it in conda environment First deactivate it

Use

source deactivate

Waiting on my rep to hit 50.

Maybe an answer:

what is the output of? Checking to see if its a link

ls -la /usr/local/bin/pip3


Also look at your path

export | grep PATH

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