python 3.x - pip -V and which pip return different paths - Stack Overflow

admin2025-04-22  1

I am currently using a conda env with python 3.8. For some reason, whenever I run which pip, I get the path of pip that is associated with my environment, but when I run pip -V, I get the path of global pip, and running pip list also shows the packages installed in global pip as well. Would really appreciate some quick assistance on this

So far I've tried running pip with the full env path, yet the same issue persists.

转载请注明原文地址:http://www.anycun.com/QandA/1745300750a90570.html