Tensorflow before devbio-napari
Trying to install devbio-napari into an environment that has tensorflow 2.10 installed gives the following mamba error:
Looking for: ['devbio-napari']
conda-forge/osx-arm64 Using cache
conda-forge/noarch Using cache
Pinned packages:
- python 3.9.*
Encountered problems while solving:
- nothing provides __linux needed by devbio-napari-0.6.0-linux_h41d4057_1
steps to reproduce:
#create env
mamba create -y -n test-env python=3.9
conda activate test-env
#install tensorflow 2.10
mamba install -c apple tensorflow-deps
pip install tensorflow-macos==2.10
pip install tensorflow-metal==0.6
#install devbio-napari
mamba install -c conda-forge devbio-napari
Devbio-napari before tensorflow
This works better. I sitll get an error trying to install tensorflow-deps but afterwards it works anyways
If I install devbio-napari first and then try to install tensorflow. I get the following error when I try to run mamba install -c apple tensorflow-deps
Looking for: ['tensorflow-deps']
conda-forge/osx-arm64 Using cache
conda-forge/noarch Using cache
apple/noarch No change
apple/osx-arm64 No change
Pinned packages:
- python 3.9.*
Encountered problems while solving:
- package libitk-5.3.0-h112da86_0 requires hdf5 >=1.12.2,<1.12.3.0a0, but none of the providers can be installed
I then tried to skip installing tensorflow-deps
pip install tensorflow-macos==2.10 and pip install tensorflow-metal==0.6
steps to reproduce
#create env
mamba create -y -n test-env python=3.9
conda activate test-env
#install devbio-napari
mamba install -c conda-forge devbio-napari
#install tensorflow 2.10
mamba install -c apple tensorflow-deps #throws an error given above
pip install tensorflow-macos==2.10
pip install tensorflow-metal==0.6
pip install n2v
pip install napari-n2v
mamba install -c conda-forge napari-aicsimageio
pip install aicsimageio[all]
Now noise2void works in devbio-napari! 🥳
Note, I cannot exclude, that tensorflow works despite the error when installing tensorflow-deps, because I successfully installed tensorflow-deps in a clean environment before, and now tensorflow has still access to the needed system libraries in the devbio-napari environment.
Tensorflow before devbio-napari
Trying to install devbio-napari into an environment that has tensorflow 2.10 installed gives the following mamba error:
steps to reproduce:
Devbio-napari before tensorflow
This works better. I sitll get an error trying to install
tensorflow-depsbut afterwards it works anywaysIf I install devbio-napari first and then try to install tensorflow. I get the following error when I try to run
mamba install -c apple tensorflow-depsI then tried to skip installing
tensorflow-depspip install tensorflow-macos==2.10andpip install tensorflow-metal==0.6steps to reproduce
Now noise2void works in devbio-napari! 🥳
Note, I cannot exclude, that tensorflow works despite the error when installing tensorflow-deps, because I successfully installed tensorflow-deps in a clean environment before, and now tensorflow has still access to the needed system libraries in the devbio-napari environment.