JaidedAI / EasyOCR

Ready-to-use OCR with 80+ supported languages and all popular writing scripts including Latin, Chinese, Arabic, Devanagari, Cyrillic and etc.
https://www.jaided.ai
Apache License 2.0
23.96k stars 3.13k forks source link

Can not install easyocr #740

Open lovesgg opened 2 years ago

lovesgg commented 2 years ago

Collecting charset-normalizer~=2.0.0 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/06/b3/24afc8868eba069a7f03650ac750a778862dc34941a4bebeb58706715726/charset_normalizer-2.0.12-py3-none-any.whl (39 kB) Collecting certifi>=2017.4.17 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/11/dd/e015f3780f42dd9af62cf0107b44ea1298926627ecd70c17b0e484e95bcd/certifi-2022.5.18.1-py3-none-any.whl (155 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 155.2/155.2 kB 230.6 kB/s eta 0:00:00 Collecting idna<4,>=2.5 Downloading https://pypi.tuna.tsinghua.edu.cn/packages/04/a2/d918dcd22354d8958fe113e1a3630137e0fc8b44859ade3063982eacd2a4/idna-3.3-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 kB 704.4 kB/s eta 0:00:00 Building wheels for collected packages: opencv-python-headless Building wheel for opencv-python-headless (pyproject.toml) ... /

At this point there is no response. Installation cannot continue.

lovesgg commented 2 years ago

python3.9 mac.

who can help me? Thanks.

s39674 commented 2 years ago

Hi @lovesgg ! Can you try to download it separately by: pip install opencv-python-headless and post your results? Make sure to remove any opencv packages before installing it again.

wisam-ahmed commented 2 years ago

I'm having the same exact issue running python 3.8 on my Mac. I was able to successfully download opencv-python-headless but I'm still stuck on the Building wheel for opencv-python-headless (pyproject.toml) step. Been trying to fix this for hours and I'm not sure what to do. Would greatly appreciate some help.

successful opencv download stuck on building wheel Error Message
wisam-ahmed commented 2 years ago

Just upgraded my Python version to 3.10 and now I'm getting an error saying that it wasn't able to build a wheel for numpy.

Screen Shot 2022-07-04 at 4 24 10 PM