PyImageSearch / imutils

A series of convenience functions to make basic image processing operations such as translation, rotation, resizing, skeletonization, and displaying Matplotlib images easier with OpenCV and Python.
MIT License
4.54k stars 1.03k forks source link

imutils conda installation on m1 macbook #267

Open YileAllenChen1 opened 2 years ago

YileAllenChen1 commented 2 years ago

I am working on a m1 macbook and wanted to install imutils. I need to use conda to install packages but it does not work. I tried conda install imutils and conda install -c conda-forge imutils but both give a package not found error.

Is there a solution to installing it on the m1 macs?

srinathos commented 2 years ago

I don't see an arm64 build on conda and that's why it fails. You should be able to install it using pip in your conda environment. If that fails, the repository has a setup.py that you can use: python setup.py --install

lolikgiovi commented 1 year ago

Encountered the same problem and proceeded to install it using pip. Thanks for the solution! @srinathos

I don't see an arm64 build on conda and that's why it fails. You should be able to install it using pip in your conda environment. If that fails, the repository has a setup.py that you can use: python setup.py --install

dustinfreeman commented 3 months ago

I don't see an arm64 build on conda and that's why it fails. You should be able to install it using pip in your conda environment. If that fails, the repository has a setup.py that you can use: python setup.py --install

Sorry if this is a dumb question, but why wouldn't conda have a build for this?