OlafenwaMoses / ImageAI

A python library built to empower developers to build applications and systems with self-contained Computer Vision capabilities
https://www.genxr.co/#products
MIT License
8.58k stars 2.19k forks source link

Problem with installing numpy. Everytime it errors at this instance. Please do provide a solution . #758

Open adrinorosario opened 2 years ago

adrinorosario commented 2 years ago

Screenshot 2022-06-03 213322

I have installed the required Visual C++ and the build tools. When i run pip3 install imageai --upgrade , it runs and the errors out giving the above message. Please do suggest a solution :)

195374305 commented 2 years ago

same problem as me

benedsmith commented 2 years ago

same here, windows 10 + python 3.10, install fails with pip

adrinorosario commented 2 years ago

@OlafenwaMoses could you tell us what would be the solution to this problem we are facing.

jrhugman commented 2 years ago

Same problem here. Has anyone found a solution yet ?

Edit: Figured it out, you have to use python version 3.7.6. The others wont work.

adrinorosario commented 2 years ago

Same problem here. Has anyone found a solution yet ?

Edit: Figured it out, you have to use python version 3.7.6. The others wont work.

So, python 3.8 and above won't work???

jrhugman commented 2 years ago

Nope I couldn't get it to work on multiple operating systems . Used 3.7.6 and worked straight away no issues

Fatichti commented 2 years ago

I create a conda environment with Python 3.7.6 and it's working as well 👍

IN
conda list
OUT
 Name                    Version                                 Build               Channel
- tensorflow-gpu            2.4.0                                 pypi_0                pypi
- pip                       21.2.4                        py37haa95532_0
- python                    3.7.6                             h60c2a47_2
- numpy                     1.19.3                                pypi_0                pypi
- keras                     2.4.3                                 pypi_0                pypi
- keras-resnet              0.2.0                                 pypi_0                pypi
- pillow                    7.0.0                                 pypi_0                pypi
- scipy                     1.4.1                                 pypi_0                pypi
- h5py                      2.10.0                                pypi_0                pypi
- matplotlib                3.3.2                                 pypi_0                pypi
- opencv-python             4.6.0.66                              pypi_0                pypi

see the latest doc here : https://imageai.readthedocs.io/en/latest/