Python 3.4 Openpyxl error

I am having a Python problem while importing the openpyxl module. I am using Python 3.4 and following the instructions and was able to install the module. When I import the module like this:

from openpyxl import workbook


This gives me the following error:

Traceback (most recent call last):
  File "C:/Python34/", line 1, in <module>
    from openpyxl import workbook
ImportError: No module named 'openpyxl'


I installed the module after this step by step method:

  • I went to control panel - system and security - System - advanced system - system - enviroment variables - find the path in the scrollbar and write down at the end where Python is installed. After that you can go to CMD and write python and it will find it.

  • The modular package you downloaded has, find the directory of that. Go to CMD and write to cd followed by directory.

  • Then write python and setup starts.

  • Once the installation is complete, go into CMD and write python and then import the "module name", if no error shows, the installation is complete.

Help me Stackoverflow, you are my only hope!


source to share

All Articles