Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Current installation approach does not work with either pip or #65

Open
dovidel opened this issue Jul 5, 2023 · 0 comments
Open

Current installation approach does not work with either pip or #65

dovidel opened this issue Jul 5, 2023 · 0 comments

Comments

@dovidel
Copy link

dovidel commented Jul 5, 2023

I am currently having difficulty installing the alphamap package using either Pip or the developer approach.

To Reproduce
Steps to reproduce the behavior:

  1. I installed Python3.8 using brew install python@3.8.
  2. I then installed conda using the instructions here (https://docs.anaconda.com/free/anaconda/install/mac-os/)
  3. 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.
  4. 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:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant