0

I have installed both python2 and python3 in my windows machine. I wanted to use the python-docx, so I installed it using pip install . But I am unable to use it in python3. I get these results when i try to import in Python2:

![enter image description here]1

In Python3 :

![enter image description here]2

Srinivasan A
  • 51
  • 3
  • 12

1 Answers1

1

Python packages are installed in a particular Python installation. You have two Python installations and it looks like python-docx is installed in only one of them. What you need to work out is how to target the Python 3 installation for the python-docx install.

This question seems to address how to manage that.

Community
  • 1
  • 1
scanny
  • 26,423
  • 5
  • 54
  • 80