Closed mathildelpx closed 2 years ago
I will look into this issue; please take that tensorflow-base back out of your environment.yml file.
Try pinning tensorflow 2.4; that may solve the issue (for now ; longer term we'll need to move to h5py 3.x, although that will take some effort)
Another thing to try (fairly different); remove your git checkout of the caiman sources, and just do this:
mamba create -n caiman -c conda-forge caiman
Let me know how that goes.
I was having the same problem and this seemed to solve the environment creation. For instance I did:
git clone https://github.com/flatironinstitute/CaImAn
cd CaImAn
mamba create -n caiman -c conda-forge caiman
mamba install -n caiman vs2017_win-64
Does this method still allow us to modify code present under user\CaImAn\caiman\...
? Thanks for your help
@GarrettBlair There are two entirely distinct install paths:
1) Build the needed environment using mamba/conda (without installing caiman itself), do a git clone of the sources, and then doing a pip install of those sources (which compiles stuff). This can be a pain to make work because it means potentially fiddling with a compiler, but it lets you modify the caiman sources freely before/after install.
2) Build the needed environment using mamba/conda including the binary caiman package we provide. If you do this, you don't need a compiler and there are fewer steps, but you shouldn't expect to modify the caiman sources if you're doing this.
What you typed above is a hybrid and is not what I recommend.
If you want to discuss it further, please hop onto Gitter: https://gitter.im/agiovann/Constrained_NMF And we can work through your needs and the right set of steps to meet them.
--Pat
Windows 10 Pro
Python 3.9
install problem
CaImAn version: 1.9.7 from git @master
CaImAn installation process:
I tried adding tensorflow-base to the environment.yml file, and got the Following error:
Which is I think caused by
- h5py >=2.10.0,<3
in the yml file. Could you please provide the version of tensorflow and tensorflow-base that are compatible with h5py <3?Thanks a lot !