Ajatt-Tools / transformers_ocr

🍤 An OCR tool using maim with Transformers.
https://tatsumoto.neocities.org/blog/mining-from-manga.html
GNU General Public License v3.0
37 stars 8 forks source link

my python3 is at /usr/bin/python3 not /bin/python3 #8

Closed equwal closed 7 months ago

equwal commented 7 months ago

Environment

1) OS name [e.g. Parabola, Debian] install gentoo 2) OS version recent 4) Log

.../Ajatt-Tools/transformers_ocr main>> transformers_ocr download
zsh: /usr/bin/transformers_ocr: bad interpreter: /bin/python3: no such file or directory

5) Screenshots, if applicable https://ibb.co/G3T3HVv

Describe the bug wrong PATH use

To Reproduce Steps to reproduce the behavior: 1) no python at /bin 2) python at /usr/bin etc. for example 3) See error

Workaround: use ln.

tatsumoto-ren commented 7 months ago

you can change the shebang and set it to /usr/bin/python3. it should work then.