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

Issue installing ncem on macOS #130

Open
DRSEI opened this issue Oct 31, 2022 · 0 comments
Open

Issue installing ncem on macOS #130

DRSEI opened this issue Oct 31, 2022 · 0 comments
Labels
dependencies Pull requests that update a dependency file

Comments

@DRSEI
Copy link

DRSEI commented Oct 31, 2022

I am trying to install ncem on my machine:
macOS Monterey 12.6.1
pip 22.2.2 from /Users/sei/opt/miniconda3/envs/test-env/lib/python3.8/site-packages/pip (python 3.8)

pip install ncem

When I do this I get the following error:

(test-env) sei@192-168-1-136 ~ % pip install ncem

Collecting ncem
  Using cached ncem-0.1.4-py3-none-any.whl (119 kB)
Collecting click<8.0.0,>=7.1.2
  Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
Collecting patsy<0.6.0,>=0.5.1
  Using cached patsy-0.5.3-py2.py3-none-any.whl (233 kB)
Collecting Jinja2<4.0.0,>=2.11.3
  Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
Collecting docrep<0.4.0,>=0.3.2
  Using cached docrep-0.3.2.tar.gz (33 kB)
  Preparing metadata (setup.py) ... done
Collecting matplotlib<4.0.0,>=3.4.2
  Using cached matplotlib-3.6.1-cp38-cp38-macosx_11_0_arm64.whl (7.2 MB)
Collecting diffxpy<0.8.0,>=0.7.4
  Using cached diffxpy-0.7.4-py3-none-any.whl (85 kB)
Collecting scipy<2.0.0,>=1.7.0
  Using cached scipy-1.9.3-cp38-cp38-macosx_12_0_arm64.whl (28.5 MB)
Collecting scanpy<2.0.0,>=1.7.2
  Using cached scanpy-1.9.1-py3-none-any.whl (2.0 MB)
Collecting squidpy<2.0.0,>=1.0.0
  Using cached squidpy-1.2.3-py3-none-any.whl (180 kB)
Collecting PyYAML<6.0.0,>=5.4.1
  Using cached PyYAML-5.4.1.tar.gz (175 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting louvain<0.8.0,>=0.7.0
  Using cached louvain-0.7.2-cp38-cp38-macosx_11_0_arm64.whl (187 kB)
Collecting rich<11.0.0,>=10.1.0
  Using cached rich-10.16.2-py3-none-any.whl (214 kB)
Collecting ncem
  Using cached ncem-0.1.3-py3-none-any.whl (118 kB)
  Using cached ncem-0.1.2-py3-none-any.whl (117 kB)
  Using cached ncem-0.1.1-py3-none-any.whl (105 kB)
  Using cached ncem-0.1.0-py3-none-any.whl (82 kB)
Collecting Jinja2<3.0.0,>=2.11.3
  Using cached Jinja2-2.11.3-py2.py3-none-any.whl (125 kB)
ERROR: Cannot install ncem==0.1.0, ncem==0.1.1, ncem==0.1.2, ncem==0.1.3 and ncem==0.1.4 because these package versions have conflicting dependencies.

The conflict is caused by:
    ncem 0.1.4 depends on tensorflow<3.0.0 and >=2.5.0
    ncem 0.1.3 depends on tensorflow<3.0.0 and >=2.5.0
    ncem 0.1.2 depends on tensorflow<3.0.0 and >=2.5.0
    ncem 0.1.1 depends on tensorflow<3.0.0 and >=2.5.0
    ncem 0.1.0 depends on tensorflow<3.0.0 and >=2.5.0

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

Please let me know if there's anything else I should be doing beforehand.
Thank you kindly for your help

@AnnaChristina AnnaChristina added the dependencies Pull requests that update a dependency file label Feb 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

2 participants