Open DrMemoryFish opened 1 year ago
I had the same problem under Windows 10 with cartopy and mayavi.
I found a solution that worked for me.
First I tried to install the packages with conda (this didn't work for me):
cd C:\{...}\ImageBind-main
conda install -c conda-forge cartopy
conda install -c conda-forge mayavi
The dependency solver was extremely slow.
Therefore, I installed Miniforge to use mamba, instead of conda. With mamba the dependency solver seems to be faster.
After installing Miniforge, I used the following commands (replace {user} with your Windows user name in the instructions below):
cd C:\{...}\ImageBind-main
mamba init
( You may have to add the mamba path to your system variables, the path should be located here: C:\Users\{user}\AppData\Local\miniforge3\Scripts\mamba.exe )
( You also may have to deactivate conda with "conda deactivate" first to make this work )
mamba create -n imagebind python=3.8 -y
mamba activate imagebind
mamba install -c conda-forge cartopy
mamba install -c conda-forge mayavi
pip install soundfile
(if you don't install this under Windows, you could get the error "No audio I/O backend is available" when running the Python example)
pip install .
If you're using VSCode, you need to select the Python environment:
Select Interpreter -> Enter interpreter path... -> "C:\Users{user}\AppData\Local\miniforge3\envs\imagebind"
You can get the location of your mamba environments using the command:
mamba env list
Thanks! This also helps on MacOS (M2).
Can confirm this is an issue on M2 Mac as well.
Im not sure how to fix this error on windows 11: