[program-l] Re: Installing python 3.10 on a brand new machine - No module named 'pip'

  • From: <kperry@xxxxxxxxxxxxx>
  • To: <program-l@xxxxxxxxxxxxx>
  • Date: Fri, 18 Nov 2022 12:49:16 -0500

When you are in a virtual inv your script directory is different.

 

From: program-l-bounce@xxxxxxxxxxxxx <program-l-bounce@xxxxxxxxxxxxx> On
Behalf Of Jacob Kruger
Sent: Friday, November 18, 2022 12:17 PM
To: program-l@xxxxxxxxxxxxx
Subject: [program-l] Re: Installing python 3.10 on a brand new machine - No
module named 'pip'

 

Sorry - should have mentioned, that would be first thing would check, and,
before activating virtual environment, pip worked fine installing virtualenv
package, for example.

Thinking, should maybe also try out venv, or poetry shell virtual
environments, and see if have similar issues.

Jacob Kruger
+2782 413 4791
"Resistance is futile...acceptance is versatile..."

On 18 November 2022 17:20:57 <kperry@xxxxxxxxxxxxx
<mailto:kperry@xxxxxxxxxxxxx> > wrote:

You need to add the pip path to your environment.  It doesn't matter if you
install it for everyone or justone user.  It works fine either way.  I like
to install it in a tools directory.  My setup is:

C:\data\tools\python 
If I remember correctly the pip is under pythonlib/site-packages.  Find it
first and set the environment to it

That way it is not under program files and I can have better access to the
packages without using administrator.  I do have administrator of course I
just like it to be in a tools directory with all my other compilers etc.

-----Original Message-----
From: program-l-bounce@xxxxxxxxxxxxx <mailto:program-l-bounce@xxxxxxxxxxxxx>
<program-l-bounce@xxxxxxxxxxxxx <mailto:program-l-bounce@xxxxxxxxxxxxx> > On
Behalf Of jacob kruger
Sent: Friday, November 18, 2022 9:03 AM
To: program-l@xxxxxxxxxxxxx <mailto:program-l@xxxxxxxxxxxxx
Subject: [program-l] Installing python 3.10 on a brand new machine - No
module named 'pip'

Ok, got my brand new HP victus machine from newish employer now - not a bad
machine at all, but, while I specifically requested windows 10 pro
64 bit, just in case, besides the 16Gb RAM and a 1TB SSD drive, they did
install windows 11 home 64 bit on it - in case relevant.

Anyway, am now trying to finish off configuring the machine for work, and,
this includes installing all my general day-to-day software, which includes
installing python 3.10 64 bit, etc., but, while have tried installing it
under both Program Files, for all users, or under the user's applications
folder/path, I am getting more or less the same error message mentioned in
subject line when I try activating a new virtual environment under python
from the command line?

So, first question is, would you recommend installing for all users, or on a
per-user basis?

Secondly, thoughts/ideas on what could cause this issue, and how to try 
sort it out, etc.?

Thanks

Jacob Kruger
+2782 413 4791
"Resistance is futile...but, acceptance is versatile..."

** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx <mailto:program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx <mailto:program-l-request@xxxxxxxxxxxxx>
with the Subject:- faq

** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx <mailto:program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx <mailto:program-l-request@xxxxxxxxxxxxx>
with the Subject:- faq

Other related posts: