Hello Tim and Daniel,

Many thanks for the very quick response.

I forgot to mention earlier that I did try on the Command Prompt. However, then 
I went into Python by entering the command ‘py’ and tried the pip install there.

Following Tim’s email, I tried at user prompt and it worked.

Noted suggestion on Tutor List. I have since subscribed to it.

Many thanks again.

Have a great day!


From: Daniel Holth [mailto:dho...@gmail.com]
Sent: Thursday, February 23, 2017 2:37 AM
To: William Gan <ganwill...@outlook.com>; distutils-sig@python.org
Subject: Re: [Distutils] pip install error

import subprocess; subprocess.Popen("python -m pip install sqlalchemy", 
stdout=subprocess.PIPE).communicate()

On Wed, Feb 22, 2017 at 1:28 PM William Gan 
<ganwill...@outlook.com<mailto:ganwill...@outlook.com>> wrote:
Good day,

I got your email from the Installing Python Modules page in the Python 3.6.0 
documentation.

I encountered an error when trying to install a package in the Python IDLE 
shell:
>>> python -m pip install numpy
SyntaxError: invalid syntax

I am using Windows 10.

I have not been able to find any solution to this. Could you please help? 
Alternatively, please direct me to a web group for help.

Many thanks.
Gan william


_______________________________________________
Distutils-SIG maillist  -  
Distutils-SIG@python.org<mailto:Distutils-SIG@python.org>
https://mail.python.org/mailman/listinfo/distutils-sig
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to