Re: 转发: No pip for my Python 3.6.5!

Mark Lawrence breamoreboy at
Mon Jul 9 12:21:37 EDT 2018

On 09/07/18 17:02, Steven D'Aprano wrote:
> On Mon, 09 Jul 2018 08:14:04 +0000, 卢 嘉幸 wrote:
>> I am a beginner with Python.
>> My computer is of Windows version.
>> And I dowloaded the lastest version of python on the
>> . My book, Automate the Boring Stuff With
>> Python, teaches me to install a third-party module with the command
>> line: pip install send2trash (for example). But there comes the error
>> message !!!
>> What is going wrong?
> Without knowing what the error message says, we cannot tell what the
> error is.
> Make sure you are running the Windows shell, not Python, and then try
> this command:
>      python3 -m ensurepip --upgrade

I don't think there is a python3 on Windows.

> If that fails, COPY AND PASTE the full error, don't use a screen shot,
> and don't try to retype it.
> You could also try either of these instead:
>      py -m pip install send2trash

This will pick the default python.  I've no idea how this is defined 

>      py3 -m pip install send2trash

Shouldn't that be:-

py -3 -m...?

> But without seeing the actual errors you are getting, I'm just guessing
> what the problem is.

My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

More information about the Python-list mailing list