Python - problem with PIP (or with modules)

0

I'm developing a program that is equal to the direct evil of word, however, which also allows naming each file in the folder.

I installed Python 3.7 on my PC (Windows 7) and in order to develop the program I needed to use the module " python-docx ".

I was able to work normally with this module, but after upgrading the PIP to version 18 the module named " python-docx " was not recognized.

I believe the problem is in updating the PIP.

Do you have any idea what I can do?

Or, is there any other module that will allow me to work with docx files?

Thank you.

    
asked by anonymous 17.10.2018 / 16:25

1 answer

0

Wilson, the ideal would be for you to create a virtualEnv.

It may be that some software from s.o uses python and it does not allow you to manipulate the modules with the pip (because it installs in general)

Create an Environment in VirtualEnv ( link )

And I believe that inside it you install the necessary packages for your project!

Hug.

    
18.10.2018 / 16:19