On Mon, 27 Jun 2022 at 14:10, vishnu prabha b v <vishnuprabhab...@gmail.com> wrote:
> It doesn't work because python version is 2.7.17 > > On Mon, 27 Jun, 2022, 8:53 am Thirunarayanan Srinivasan, < > tstnara...@gmail.com> wrote: > >> Looks like your installation didn’t go through properly. If you are >> Python3 , can you try this. >> >> pip uninstall python-docx >> pip3 install python-docx >> >> If you carefully go through the error , the python interpreter is looking for a library present in the Python3 path. Either you installed the module in a virtual environment and forget to activate the virtual environment or you are running the code with python3 instead of python2. Also next time when you share an error message don't share it as an image. Copy paste the console error log so that we can easily point out. mailing list guidelines - http://chennaipy.org/mailing-list-guidelines.html Regards Rengaraj
_______________________________________________ Chennaipy mailing list Chennaipy@python.org https://mail.python.org/mailman/listinfo/chennaipy