[Distutils] Python package inquiry

Anna Ravenscroft annaraven at gmail.com
Tue Aug 9 19:53:23 EDT 2016

Hi Meradj,

Are you in the Python interpreter when you type that? If so, that's your
problem. You need to be at your normal command prompt. Open a new shell or
terminal and type that command first.

If you've already started Python and are in the interpreter, that would
indeed, give you a syntax error.

On Tue, Aug 9, 2016 at 7:56 AM, Meradj Aghdam <meradj.aghdam at gmail.com>

> To whom it may concern,
> Hi,
> I am new to Python and I am struggling to install Python packages. I have
> followed the instructions however it does not seem to be working. I am
> trying to install the package through the Python(Command Line), the package
> is economics, and when I put
> python -m pip install Economics
> It does not work and the error that it is a syntax error. I am using
> Python 2.7. Would you mind kindly let me know how I can install packages?
> Your help if very much appreciated,
> Kind regards,
> Meradj
> _______________________________________________
> 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/20160809/0672c8a5/attachment-0001.html>

More information about the Distutils-SIG mailing list