<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-2022-jp">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:"Yu Gothic";
        panose-1:2 11 4 0 0 0 0 0 0 0;}
@font-face
        {font-family:"MS PGothic";
        panose-1:2 11 6 0 7 2 5 8 2 4;}
@font-face
        {font-family:"Yu Gothic";
        panose-1:2 11 4 0 0 0 0 0 0 0;}
@font-face
        {font-family:"MS PGothic";}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0mm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:"$B^b%4%7%C%/(B",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
.MsoChpDefault
        {mso-style-type:export-only;}
/* Page Definitions */
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:99.25pt 30.0mm 30.0mm 30.0mm;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="JA" link="blue" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Mathew,</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt">Thank you for your quick response.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt">Does $B!H(Bcmd$B!I(B shell mean MS-Windows command prompt ?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt">I executed in Windows command prompt and the result is shown below:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">C:\Users\N.Morihira>pip install openpyxl<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">Pip is not recognized as executable command at Windows command prompt and so is Python command line.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Best Regards,</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">---------------------<br>
Naoki Morihira<br>
TEL: 01181-90-6460-6265<br>
---------------------<br>
<br>
</span><span lang="EN-US" style="font-size:12.0pt;font-family:"$B#M#S(B $B#P%4%7%C%/(B",sans-serif"><o:p></o:p></span></p>
<div style="mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0mm 0mm 0mm">
<p class="MsoNormal" style="border:none;padding:0mm"><b>$B:9=P?M(B<span lang="EN-US">: </span>
</b><span lang="EN-US"><a href="mailto:matthew.brett@gmail.com">Matthew Brett</a><br>
</span><b>$BAw?.F|;~(B<span lang="EN-US">: </span></b><span lang="EN-US">2018</span>$BG/(B<span lang="EN-US">3</span>$B7n(B<span lang="EN-US">27</span>$BF|(B<span lang="EN-US"> 13:21<br>
</span><b>$B08@h(B<span lang="EN-US">: </span></b><span lang="EN-US"><a href="mailto:naoki_morihira@outlook.jp"><span lang="EN-US"><span lang="EN-US">$B?9J?(B</span></span><span lang="EN-US"><span lang="EN-US">
</span></span><span lang="EN-US"><span lang="EN-US">$BD><y(B</span></span></a><br>
<b>CC: </b><a href="mailto:brett@python.org">Brett Cannon</a>; <a href="mailto:distutils-sig@python.org">
distutils-sig@python.org</a><br>
</span><b>$B7oL>(B<span lang="EN-US">: </span></b><span lang="EN-US">Re: [Distutils] Need how to install 3rd party python modules</span></p>
</div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;font-family:"$B#M#S(B $B#P%4%7%C%/(B",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">Hi,<br>
<br>
Brett is just saying that you should first open a "cmd" shell, and, at<br>
the cmd prompt, type:<br>
<br>
pip install openpyxl<br>
<br>
Your problem (which is relatively common) is that you were typing the<br>
command at the Python prompt, instead of the cmd prompt.<br>
<br>
Best,<br>
<br>
Matthew<br>
<br>
<br>
On Tue, Mar 27, 2018 at 6:04 PM, </span><span style="font-size:11.0pt">$B?9J?(B $BD><y(B<span lang="EN-US"> <naoki_morihira@outlook.jp> wrote:<br>
> Brett,<br>
><br>
><br>
><br>
> Thank you for responding me.<br>
><br>
> Could you tell me the e-mail address of the python-tutor ?<br>
><br>
> And if you have something even a little to be a hint to resolve this syntax<br>
> error, it is appreciated to teach me.<br>
><br>
><br>
><br>
> Best Regards,<br>
><br>
> ---------------------<br>
> Naoki Morihira<br>
> TEL: 01181-90-6460-6265<br>
> ---------------------<br>
><br>
><br>
><br>
> ________________________________<br>
> </span>$B:9=P?M(B<span lang="EN-US">: Brett Cannon <brett@python.org><br>
> </span>$BAw?.F|;~(B<span lang="EN-US">: Tuesday, March 27, 2018 9:44:57 AM<br>
> </span>$B08@h(B<span lang="EN-US">: ?? ??<br>
> CC: distutils-sig@python.org<br>
> </span>$B7oL>(B<span lang="EN-US">: Re: [Distutils] Need how to install 3rd party python modules<br>
><br>
> For general help to get started with Python I would recommend the<br>
> python-tutor mailing list; this one is for discussing the development of how<br>
> to package things in Python.<br>
><br>
> But in your specific case you typed the command in Python's REPL and not at<br>
> the terminal. For further help please ask on python-tutor.<br>
><br>
> On Tue, 27 Mar 2018 at 09:42 ?? ?? <naoki_morihira@outlook.jp> wrote:<br>
>><br>
>> I would like to install openpyxl, and<br>
>><br>
>> I installed Python shown as follows:<br>
>><br>
>> Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:04:45) [MSC v.1900 32 bit<br>
>> (Intel)] on win32<br>
>><br>
>><br>
>><br>
>> But as the following situation shows, I cannot succeed installing<br>
>> openpyxl.<br>
>><br>
>><br>
>><br>
>> >>> pip install openpyxl<br>
>><br>
>>   File "<stdin>", line 1<br>
>><br>
>>     pip install openpyxl<br>
>><br>
>>               ^<br>
>><br>
>> SyntaxError: invalid syntax<br>
>><br>
>><br>
>><br>
>> How can I succeed installing openpyxl ?<br>
>><br>
>><br>
>><br>
>> Best Regards,<br>
>><br>
>> ---------------------<br>
>> Naoki Morihira<br>
>> TEL: 01181-90-6460-6265<br>
>> ---------------------<br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> Distutils-SIG maillist  -  Distutils-SIG@python.org<br>
>> <a href="https://mail.python.org/mailman/listinfo/distutils-sig">https://mail.python.org/mailman/listinfo/distutils-sig</a><br>
><br>
><br>
> _______________________________________________<br>
> Distutils-SIG maillist  -  Distutils-SIG@python.org<br>
> <a href="https://mail.python.org/mailman/listinfo/distutils-sig">https://mail.python.org/mailman/listinfo/distutils-sig</a><br>
><o:p></o:p></span></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;font-family:"$B#M#S(B $B#P%4%7%C%/(B",sans-serif"><o:p> </o:p></span></p>
</div>
</body>
</html>