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
Hardware type (x86, ARM..) and RAM: x86-64 hardware, 384GB
Python Version (e.g. 3.9): 3.7.12
Caiman version (e.g. 1.9.12): 1.9.8
How you installed Caiman (pure conda, conda + compile, colab, ..): conda via miniforge
I am experiencing issues being able to build a working CaImAn environment via miniforge. My institute is no longer able to use ananconda or the defaults channel, therefore we have been primarily using miniforge instead. The issue seems to be stemming from the conda-forge channel only having older versions of tensorflow available for windows. This issue was touched on #1332 (here), however the work around involved downloading tensorflow from the defaults channel which is not an option for me. However, if I use a yml file with strict specifications of acceptable package versions I can build a CaImAn environment. Unfortunately, this issue persists as when I attempt to import caiman an error occurs. I have tried trouble shooting the error but have had no success. If anyone has some advice that would be great, otherwise I'd like to draw attention to this short coming.
We know about this, and unfortunately right now there's not a great solution; we've been holding off on new releases because we can't make them work across all three platforms (forcing older versions of tensorflow also doesn't work, as you've discovered).
We've been hoping for things to be a bit easier with pytorch (and have some almost-ready-to-commit work done to switch over), but we also need pytorch on windows to exist - it's currently blocked:
Right now the only real way I see to make this work is to start like you've done and then use pip to replace tensorflow (this may require some other version pins). This is pretty suboptimal though. Hopefully pytorch on windows will come to conda-forge soon, and we'll be able to land our switchover diffs to get rid of our tensorflow dependency shortly afterwards.
(I should note that the place I work has also blocked access to the defaults channel, for the same reasons probably that your institution did so - it's a shame that ContinuumIO did this)
Overview
Setup:
I am experiencing issues being able to build a working CaImAn environment via miniforge. My institute is no longer able to use ananconda or the defaults channel, therefore we have been primarily using miniforge instead. The issue seems to be stemming from the conda-forge channel only having older versions of tensorflow available for windows. This issue was touched on #1332 (here), however the work around involved downloading tensorflow from the defaults channel which is not an option for me. However, if I use a yml file with strict specifications of acceptable package versions I can build a CaImAn environment. Unfortunately, this issue persists as when I attempt to import caiman an error occurs. I have tried trouble shooting the error but have had no success. If anyone has some advice that would be great, otherwise I'd like to draw attention to this short coming.
Creation from yml:
mamba env create -f environment.yml
Import error:
import caiman as cm
The text was updated successfully, but these errors were encountered: