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 <[email protected]> wrote: > 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 - [email protected] > https://mail.python.org/mailman/listinfo/distutils-sig > > -- cordially, Anna
_______________________________________________ Distutils-SIG maillist - [email protected] https://mail.python.org/mailman/listinfo/distutils-sig
