I cloned the github repository into a folder on my local machine, and then followed the instructions here (https://mannlabs.github.io/alphamap/#Pip) in order to get alphamap installed.
After running the commands conda create -n alphamap python=3.8 -y and conda activate alphamap, I try to run pip3.8 install -e ., but the following error occurs:
ERROR: Cannot install alphamap and alphamap==0.1.10 because these package versions have conflicting dependencies.
The conflict is caused by:
alphamap 0.1.10 depends on numpy==1.19.2
bokeh 2.2.2 depends on numpy>=1.11.3
h5py 3.6.0 depends on numpy>=1.14.5
pandas 1.4.0 depends on numpy>=1.20.0; platform_machine == "arm64" and python_version < "3.10"
To fix this you could try to:
loosen the range of package versions you've specified
remove package versions to allow pip attempt to solve the dependency conflict
I tried to solve this by changing the required numpy version from 1.19.2 to 1.20, but this resulted in the following abridged error:
ERROR: Failed building wheel for numpy
Failed to build h5py numpy
ERROR: Could not build wheels for h5py, numpy, which is required to install pyproject.toml-based projects
While the one-click GUI installer works fine, I need to work with some of the code in the developer setting.
**Desktop:**
- Installation Type: Pip/Developer
- OS: Ventura 13.4.1, Apple M1 Max Chip
I am currently having difficulty installing the alphamap package using either Pip or the developer approach.
To Reproduce Steps to reproduce the behavior:
brew install python@3.8
.conda create -n alphamap python=3.8 -y
andconda activate alphamap
, I try to runpip3.8 install -e .
, but the following error occurs:ERROR: Cannot install alphamap and alphamap==0.1.10 because these package versions have conflicting dependencies.
The conflict is caused by: alphamap 0.1.10 depends on numpy==1.19.2 bokeh 2.2.2 depends on numpy>=1.11.3 h5py 3.6.0 depends on numpy>=1.14.5 pandas 1.4.0 depends on numpy>=1.20.0; platform_machine == "arm64" and python_version < "3.10"
To fix this you could try to:
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
ERROR: Failed building wheel for numpy Failed to build h5py numpy ERROR: Could not build wheels for h5py, numpy, which is required to install pyproject.toml-based projects