p0n1 / epub_to_audiobook

EPUB to audiobook converter, optimized for Audiobookshelf
MIT License
1.04k stars 107 forks source link

[Errno 2] No such file or directory when running python3 epub_to_audiobook.py -h` #27

Closed Jacksonbm1 closed 8 months ago

Jacksonbm1 commented 9 months ago

When I run python3 epub_to_audiobook.py -h (either in or out of the venv), I get

/Library/Frameworks/Python.framework/Versions/3.11/Resources/Python.app/Contents/MacOS/Python: can't open file '/Users//epub_to_audiobook.py': [Errno 2] No such file or directory

I'm super confused by why this would be happening. I've deleted and rebuilt the directory a few times and it seems to still not work. I'm not sure what's going on. Any suggestions. I feel like I'm following the guidance correctly.

This happens with my conversion commands as well.

p0n1 commented 9 months ago

The README is a bit outdated, after the recent refactoring https://github.com/p0n1/epub_to_audiobook/pull/25. You can use python3 main.py -h instead. Thanks for reporting @Jacksonbm1. I just updated the README in https://github.com/p0n1/epub_to_audiobook/pull/28. Please let me know if you encounter any further issues.

p0n1 commented 8 months ago

Close this because README was fixed.