Closed DavidDHofmann closed 1 year ago
I also had to specify "numpy=1.21"
Hmmm, this is very odd. Since you found a solution that works for you, we appreciate you going the extra mile to find the root cause!
I haven't seen this before, and my search for similar issues in other repos isn't turning up anything that looks relevant. Because this issue is happening during the creation of the environment, it feels like it could be an issue with your conda installation, or a conflict with something that was installed in your base conda environment.
A couple questions:
What Linux distribution and version are you using?
Did you just install Anaconda for the first time to set up MegaDetector, or are you using Anaconda for other things?
If you already had Anaconda installed, and you don't mind doing a bit more debugging, can you remove the newly-created environment (conda env remove -n cameratraps_detector), then update Anaconda (conda update conda), then try creating the cameratraps-detector environment again from the original environment-detector.yml file?
If you already had Anaconda installed, but you're not using it for anything else, removing and re-installing Anaconda would be a helpful debugging step, though I don't want you to mess up other stuff on your machine just for this, so this may be the point where further debugging is no longer worth it.
Thanks for trying to track down the issue!
Hi Dan
I'm working with Linux Mint 20.3 (Una) with a custom kernel for surface devices (6.1.9-surface). On another computer with the same OS the conda setup works perfectly fine. I was using a miniconda installation, but even removing environments, upgrading, or reinstalling miniconda didn't solve the issue. Anyhow, by adding the ipython_genutils and numpy=1.21 dependencies I can get everything to work as expected.
Glad you got it working. Since you have a fix, and this is a somewhat unusual environment, I'm not going to dig any deeper here. Will recommend manually installing ipython_genutils and numpy 2.1 if this comes up again. Thanks!
I'm working on a Linux machine. When preparing the "cameratraps-detector" environment from the environment-detector.yml file, I kept getting a series of errors regarding the ipython_genutils module:
ModuleNotFoundError: No module named 'ipython_genutils'
I could fix the error by manually adding "ipython_genutils" to the dependencies in the .yml file but I'm not sure if this is the correct way to do it.
Here's the full record of error messages: