0

Im having a problem Running my Python Program due the from: can't read /var/mail/docx Error, I tried to execute this pip uninstall docx && pip install docx && from docx import Document but didn't work Sorry for bad Grammar.

DexLite
  • 13
  • 1

1 Answers1

0

It's not finding your Python path or you're not using python command. Try running the script using python.

python script.py

Otherwise put the following line on top of your program:

 #!/usr/bin/env python
Mrinal Roy
  • 969
  • 7
  • 12