applemonkey496
applemonkey496

Reputation: 743

Prevent anaconda from being default python - Windows 10

I have both Anaconda and Python 3.7 installed on my computer. I want to install pip packages onto my default Python 3.7, but I would like to keep Anaconda functional for other purposes.

Right now my pip is located at C:\users\name\anaconda3\lib\site-packages\pip, but what I want is C:\Users\name\AppData\Local\Programs\Python\Python37\python.exe.

I found an answer here, but I have no idea which item in my PATH to change. I do not want to screw up my Anaconda install.

Upvotes: 1

Views: 1229

Answers (1)

Eric Miller
Eric Miller

Reputation: 46

Try adding C:\Users\name\AppData\Local\Programs\Python\Python37\Scripts to your PATH and move it anywhere above C:\users\name\anaconda3\lib\site-packages\pip. When you enter pip in PowerShell, cmd, or whatever else you're using, Windows will search all paths listed in PATH in top down order.

Upvotes: 2

Related Questions