You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Mac OS, the iblenv install fails on opencv-python: ERROR: Failed building wheel for opencv-python
Related to this issue: opencv/opencv-python#577. Looks like it may be fixed in their next release.
But for now, I fixed with commenting out that line from the .yaml file, and then pip install opencv-python==4.5.3.56 in the iblenv.
Closing this, but putting the hack here in case others may benefit.
The text was updated successfully, but these errors were encountered:
So, broadly, I've found a solution for building iblenv that just generally makes life so much easier: use miniforge exclusively, i.e. cut out all of the continuum.io default channel and rely purely on the community-supported conda-forge channel.
I used to have a ton of issues with broken dependencies surrounding several packages every time I tried to install e.g. iblenv and then pytorch, but cutting out the default channel solved everything.
Also as a bonus miniforge optionally comes prepackaged with mamba which is much, much faster than conda.
@anne-urai I can write up a set of instructions without a problem, but the broader issue is that the miniconda or mambaforge options are fairly specific to new installs. People with an existing conda installation who just want an IBL environment will not really get much mileage out of it.
@oliche@nbonacchi I can write up an "optional" install section on the README.md using the mambaforge option, with the suggestion that those who don't already have anaconda use this instead for simplicity and speed?
On Mac OS, the
iblenv
install fails onopencv-python
:ERROR: Failed building wheel for opencv-python
Related to this issue: opencv/opencv-python#577. Looks like it may be fixed in their next release.
But for now, I fixed with commenting out that line from the
.yaml
file, and thenpip install opencv-python==4.5.3.56
in theiblenv
.Closing this, but putting the hack here in case others may benefit.
The text was updated successfully, but these errors were encountered: