<div dir="ltr">Hi Meradj,<div><br></div><div>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. </div><div><br></div><div>If you've already started Python and are in the interpreter, that would indeed, give you a syntax error.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 9, 2016 at 7:56 AM, Meradj Aghdam <span dir="ltr"><<a href="mailto:meradj.aghdam@gmail.com" target="_blank">meradj.aghdam@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">To whom it may concern,<div><br></div><div>Hi,</div><div><br></div><div>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 </div><div><div style="color:rgb(0,0,0);font-family:sans-serif;font-size:16px"><div style="background:rgb(238,255,204)"><pre style="padding:5px;color:rgb(51,51,51);line-height:15.6px;border-top:1px solid rgb(170,204,153);border-bottom:1px solid rgb(170,204,153);border-left:none;border-right:none">python -m pip install Economics</pre></div></div></div><div>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?</div><div><br></div><div>Your help if very much appreciated,</div><div><br></div><div>Kind regards,</div><div><br></div><div>Meradj</div></div>
<br>______________________________<wbr>_________________<br>
Distutils-SIG maillist  -  <a href="mailto:Distutils-SIG@python.org">Distutils-SIG@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/distutils-sig" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/distutils-sig</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">cordially,<br>Anna</div>
</div>