You could try installing Pandoc, an amazing command line file conversion program –
https://pandoc.org/ – which I use for converting .docx to .tex amongst other things. It usually converts ePub to PDF using LaTeX. Assuming you don't have LaTeX installed, it can also convert from ePub to html and then convert that to PDF (all in one command string).