[Distutils] pip install error

Daniel Holth dholth at gmail.com
Wed Feb 22 13:37:03 EST 2017


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

On Wed, Feb 22, 2017 at 1:28 PM William Gan <ganwilliam at 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 at python.org
> https://mail.python.org/mailman/listinfo/distutils-sig
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20170222/b1355de0/attachment.html>


More information about the Distutils-SIG mailing list