![](https://secure.gravatar.com/avatar/21d89e513cab748e0a25b3bdd0d15584.jpg?s=120&d=mm&r=g)
Sir, I have recently downloaded python 3.6 version and I am very new to python.I tried to open excel files in python using openpyxl but its shows"Module not found error".So I tried to install it using pip install openpyxl and it was showing Syntax error:'Invalid syntax'.Can you help me in resolving the issue. Regards suchitra
![](https://secure.gravatar.com/avatar/d995b462a98fea412efa79d17ba3787a.jpg?s=120&d=mm&r=g)
The likelihood is, from your description, that you are typing the "pip install openpyxl" command at the Python prompt, rather than the Windows command line. Do you understand what the "command line" is on your computer? If you're on Windows, it's what you get when you run the "cmd" program (which shows in the start menu as "Command Prompt". You may need to set your PATH environment variable to get access to the pip command, but if that's something you are unsure about, "py -m pip install openpyxl" (at the command prompt) should do what you want. For a more detailed explanation, you should try https://packaging.python.org/tutorials/installing-packages/ although it does assume a basic familiarity with the command line, so you may also need to google for some basic tutorials on how to use the command line, to support the information in that link. Hope this helps, and welcome to the Python community! Paul On 20 December 2017 at 03:30, Suchitrarani Ojha <suchitraraniojha@gmail.com> wrote:
Sir, I have recently downloaded python 3.6 version and I am very new to python.I tried to open excel files in python using openpyxl but its shows"Module not found error".So I tried to install it using pip install openpyxl and it was showing Syntax error:'Invalid syntax'.Can you help me in resolving the issue.
Regards suchitra
_______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig
participants (2)
-
Paul Moore
-
Suchitrarani Ojha