pip is installing packages into wrong path (/opt/anaconda3/bin/pip), since I don't want to use anaconda as my interpreter, how can I change it? I am using macos.
Asked
Active
Viewed 135 times
-1
-
Maybe you want to disable Conda auto-activation? Possible duplicate then: https://stackoverflow.com/questions/54429210/how-do-i-prevent-conda-from-activating-the-base-environment-by-default – merv Jul 25 '22 at 15:17
1 Answers
0
It sounds like you don't want Conda to be the default Python in the system. In that case, read instructions to disable auto-activation. Otherwise, one can always explicitly use a particular interpreter with the syntax:
/path/to/my/python -m pip install pkgname

merv
- 67,214
- 13
- 180
- 245