Guest User

Untitled

a guest
Aug 20th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. sudo pip3 install pdfminer.six
  2.  
  3. I changed the shebang line This works on ubuntu for python3
  4. from: /usr/bin/env: ‘python\r’
  5. to : /usr/bin/env: ‘python3\r’
  6.  
  7. But this still didn't solve the issue. I had to convert the file from dos format to unix format.
  8. sudo apt-get install dos2unix
  9.  
  10. and then find the file by
  11. whereis pdf2txt.py
  12. and then convert the file to unix format
  13. sudo dos2unix pathto(pdf2txt.py)
Add Comment
Please, Sign In to add comment