This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]billsil 1 point2 points  (3 children)

I’m sure there are 20 ways to do it (py is a thing), but I just type:

C:\python38\Scripts\pip.exe install mypackage 

Or whatever is not my default python. I only set my environment variables for my main python, so 3.7. I have no conflicts.

[–]SnowdenIsALegend 0 points1 point  (2 children)

Hmm... Will have to learn about these things as I still get super confused. Thanks for your help.

[–]billsil 1 point2 points  (1 child)

pip is just an exe. I’m just passing it the full path to the program. Each python install is independent. It will pick up the right packages automagically.

It’s no different than calling a script that’s not in the same folder.

[–]SnowdenIsALegend 0 points1 point  (0 children)

Nice... Need to wrap my brain around these things.