iamatulsingh / pinscrape

A simple library to scrape Pinterest images written in Python
MIT License
78 stars 15 forks source link

Failed to build numpy during installation #8

Closed amoghvaishampayan closed 1 year ago

amoghvaishampayan commented 1 year ago

While installing pinscrape I get the error -

ERROR: Failed building wheel for numpy Failed to build numpy ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects

Any idea how to fix this?

iamatulsingh commented 1 year ago

It's not a problem with this project. You may want to check if C++ libraries are installed on your system. May be something else but it's related to building numpy.

On Sat, Apr 15, 2023, 12:13 PM Amogh Vaishampayan @.***> wrote:

While installing pinscrape I get the error -

ERROR: Failed building wheel for numpy Failed to build numpy ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects

Any idea how to fix this?

— Reply to this email directly, view it on GitHub https://github.com/iamatulsingh/pinscrape/issues/8, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE63GYPXM4V6O7YZ7D4M2QLXBJYELANCNFSM6AAAAAAW7KB4ZI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

filipkry commented 1 year ago

@iamatulsingh I got the same error while installing to the newest python release 3.11.3. Seems like pinscrape tries to install all dependecies including opencv-python==4.5.3.56 which does not support python 3.11.3. I am able to install the the newer release opencv-python 4.7.0.72 without a problem, contrary opencv-python 4.5.3.56 is always throwing problem. Can you please update the version of opencv-python in dependecies or just allow newer opencv-python release while installing pinscrape? Thanks for any suggestions

iamatulsingh commented 1 year ago

I'll test this today with python 3.11 and update here.

iamatulsingh commented 1 year ago

I've allowed Opencv latest version to install now. You can try the pinscrape==2.0.1 which is also a latest version now, to test this and let me know.

filipkry commented 1 year ago

Firstly, let me to thank you for the support! I will test it later today.

iamatulsingh commented 1 year ago

My pleasure. Take your time.

filipkry commented 1 year ago

@iamatulsingh Now works perfectly! Thanks again!

iamatulsingh commented 1 year ago

No problem.