installing openpyxl in the windows PC with python 3.5

2,477 views
Skip to first unread message

Vijayaguru Jayaram

unread,
Nov 7, 2015, 8:10:56 AM11/7/15
to openpyxl-users

I am unable to install openpyxl in the windows PC. can anyone help on this? I have only below modules in the PC.

I am using python 3.5.


>>> 
['pip==6.0.8', 'pywin32==219', 'setuptools==12.0.5']
>>>


Thanks, Vijay



 

Vijayaguru Jayaram

unread,
Nov 7, 2015, 8:14:01 AM11/7/15
to openpyxl-users
I am seeing below error when importing openpyxl..
>>> 
>>> import openpyxl
Traceback (most recent call last):
  File "<pyshell#5>", line 1, in <module>
    import openpyxl
ImportError: No module named 'openpyxl'
>>> 
>>> 
>>> 

 

Thanks, Vijay



 

Charlie Clark

unread,
Nov 7, 2015, 9:02:20 AM11/7/15
to openpyx...@googlegroups.com
Am .11.2015, 14:10 Uhr, schrieb Vijayaguru Jayaram <jvija...@gmail.com>:

>
> I am unable to install openpyxl in the windows PC. can anyone help on
> this?
> I have only below modules in the PC.

So, how are you trying to install openpyxl?

Charlie
--
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Kronenstr. 27a
Düsseldorf
D- 40217
Tel: +49-211-600-3657
Mobile: +49-178-782-6226

just...@gmail.com

unread,
Apr 26, 2018, 3:53:12 PM4/26/18
to openpyxl-users
Hello Group, 

I'm having a similar problem. In my case, I'm trying to work with openpyxl. I have been able to install it but when I try to import openpyxl in Python Interactive Shell, I receive the following message: 

>>> import openpyxl
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'openpyxl' 

I'm using a Windows 10 PC and the Python version I have installed is version 3.6.4. See also 
C:\Users\Stanley>pip list
Package    Version
---------- -------
et-xmlfile 1.0.1
ez-setup   0.9
jdcal      1.4
openpyxl   2.5.3
pip        10.0.1
setuptools 39.0.1
wheel      0.31.0 

I really need this to work for my project. Please assist. Thanks

ani...@gmail.com

unread,
May 3, 2018, 4:27:57 PM5/3/18
to openpyxl-users
What does this, is it succesful or prints smth like "already installed":
pip install --upgrade openpyxl 

I've had similar thing (on ubuntu, but it does not matter), when installed openpyxl "pip install openpyxl", then runned 
python3 and it was like "hey, where is my openpyxl?" - but it was installed for python 2, heh, so, you have to check from INSIDE python's shell it's version and check/look for module openpyxl. You may be installed openpyxl (by python version or virtualenv) for other python, not that you running then.

1. Check if 
print 'hello'
runs without error - you running python 2.
2. Google get python version from python console stackoverflow, something like:
>>> import sys
>>> print(sys.version)
3.6.4 |Anaconda, Inc.| (default, Jan 16 2018, 10:22:32) [MSC v.1900 64 bit (AMD64)]

Reply all
Reply to author
Forward
0 new messages