ianzhao05 / textshot

Python tool for grabbing text via screenshot
MIT License
1.73k stars 259 forks source link

Segmentation fault, (core dumped) #63

Open maerqin opened 10 months ago

maerqin commented 10 months ago

I tried to run textshot on my fedora Linux machine and I got a segmentation fault error: Traceback (most recent call last): File "/home/maerqin/PycharmProjects/Screenshot_To_Text/venv/lib/python3.12/site-packages/textshot/textshot.py", line 11, in <module> from .logger import log_copied, log_ocr_failure ImportError: attempted relative import with no known parent package [1] 82030 segmentation fault (core dumped) python textshot.py -h

WithMarcel commented 5 months ago

pip install --upgrade --force-reinstall pyqt5 solved the issue for me.