Cv2 problem in binder

Please if you are referring to some discussion here on this site, link to it so we know what you mean, and so you and others can find it later.

Also, it’s a good idea to link to your repository so that we can better help you & faster.
I think I found what you are working on here. However, in regards to cv2 use it doesn’t seem to follow any of the examples I’ve linked to in the past, and so maybe you found other examples that work with Binder? All the more reason to link what you are using as a guide here. Are you using opencv-python-headless? See https://github.com/fomightez/gel_image_annotation/blob/1d1dded1777a3e9b7bac36eea60f32bbf4505e87/requirements.txt for an example.
All other stuff I noted here, uses opencv-python or opencv-contrib-python in the configuration file.


However, more importantly for now is that your current directory hierarchy in your cleanX repo is incompatible with Binder. You need to put your configuration files either in the root directory of you repo, i.e.here or in a subdirectory named binder (or .binder) that is in the root directory of the repo, see here or here for that being pointed out in the documentation.

1 Like