Hi,

Brett is just saying that you should first open a "cmd" shell, and, at
the cmd prompt, type:

pip install openpyxl

Your problem (which is relatively common) is that you were typing the
command at the Python prompt, instead of the cmd prompt.

Best,

Matthew


On Tue, Mar 27, 2018 at 6:04 PM, 森平 直樹 <naoki_morih...@outlook.jp> wrote:
> Brett,
>
>
>
> Thank you for responding me.
>
> Could you tell me the e-mail address of the python-tutor ?
>
> And if you have something even a little to be a hint to resolve this syntax
> error, it is appreciated to teach me.
>
>
>
> Best Regards,
>
> ---------------------
> Naoki Morihira
> TEL: 01181-90-6460-6265
> ---------------------
>
>
>
> ________________________________
> 差出人: Brett Cannon <br...@python.org>
> 送信日時: Tuesday, March 27, 2018 9:44:57 AM
> 宛先: ?? ??
> CC: distutils-sig@python.org
> 件名: Re: [Distutils] Need how to install 3rd party python modules
>
> For general help to get started with Python I would recommend the
> python-tutor mailing list; this one is for discussing the development of how
> to package things in Python.
>
> But in your specific case you typed the command in Python's REPL and not at
> the terminal. For further help please ask on python-tutor.
>
> On Tue, 27 Mar 2018 at 09:42 ?? ?? <naoki_morih...@outlook.jp> wrote:
>>
>> I would like to install openpyxl, and
>>
>> I installed Python shown as follows:
>>
>> Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:04:45) [MSC v.1900 32 bit
>> (Intel)] on win32
>>
>>
>>
>> But as the following situation shows, I cannot succeed installing
>> openpyxl.
>>
>>
>>
>> >>> pip install openpyxl
>>
>>   File "<stdin>", line 1
>>
>>     pip install openpyxl
>>
>>               ^
>>
>> SyntaxError: invalid syntax
>>
>>
>>
>> How can I succeed installing openpyxl ?
>>
>>
>>
>> Best Regards,
>>
>> ---------------------
>> Naoki Morihira
>> TEL: 01181-90-6460-6265
>> ---------------------
>>
>>
>>
>> _______________________________________________
>> Distutils-SIG maillist  -  Distutils-SIG@python.org
>> https://mail.python.org/mailman/listinfo/distutils-sig
>
>
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG@python.org
> https://mail.python.org/mailman/listinfo/distutils-sig
>
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to