PyPardisoProject icon indicating copy to clipboard operation
PyPardisoProject copied to clipboard

install for macair

Open yxtan-xjtu opened this issue 8 months ago • 2 comments

Hello,No matter which method I use to install on my Mac, the following error message will be displayed. Is there any good solution for the version of the Macair chip is M4.

`(geo) yxtan@tanyongxiangdeMacBook-Air DIN % conda install -c conda-forge pypardiso Channels:

  • conda-forge
  • defaults Platform: osx-arm64 Collecting package metadata (repodata.json): done Solving environment: failed

LibMambaUnsatisfiableError: Encountered problems while solving:

  • nothing provides mkl-service needed by pypardiso-0.3.2-pyhd8ed1ab_0

Could not solve for environment specs The following packages are incompatible └─ pypardiso is not installable because there are no viable options ├─ pypardiso [0.3.2|0.3.3] would require │ └─ mkl-service, which does not exist (perhaps a missing channel); ├─ pypardiso [0.4.0|0.4.1|0.4.2|0.4.3] would require │ └─ mkl, which does not exist (perhaps a missing channel); ├─ pypardiso [0.4.4|0.4.5|0.4.6] would require │ └─ mkl <2024 , which does not exist (perhaps a missing channel); └─ pypardiso 0.4.6 would require └─ mkl !=2024.0 , which does not exist (perhaps a missing channel). (geo) yxtan@tanyongxiangdeMacBook-Air DIN % pip install pypardiso Collecting pypardiso Using cached pypardiso-0.4.6-py3-none-any.whl.metadata (4.8 kB) INFO: pip is looking at multiple versions of pypardiso to determine which version is compatible with other requirements. This could take a while. Using cached pypardiso-0.4.5-py3-none-any.whl.metadata (4.8 kB) Using cached pypardiso-0.4.4-py3-none-any.whl.metadata (4.8 kB) Using cached pypardiso-0.4.3-py3-none-any.whl.metadata (5.0 kB) Using cached pypardiso-0.4.2-py3-none-any.whl.metadata (5.0 kB) Using cached pypardiso-0.4.1-py3-none-any.whl.metadata (5.1 kB) Using cached pypardiso-0.4.0-py3-none-any.whl.metadata (4.1 kB) Using cached pypardiso-0.3.3-py3-none-any.whl.metadata (5.3 kB) INFO: pip is still looking at multiple versions of pypardiso to determine which version is compatible with other requirements. This could take a while. Using cached pypardiso-0.3.2-py3-none-any.whl.metadata (5.2 kB) Using cached pypardiso-0.3.1-py3-none-any.whl.metadata (5.2 kB) ERROR: Cannot install pypardiso==0.3.1, pypardiso==0.3.2, pypardiso==0.3.3, pypardiso==0.4.0, pypardiso==0.4.1, pypardiso==0.4.2, pypardiso==0.4.3, pypardiso==0.4.4, pypardiso==0.4.5 and pypardiso==0.4.6 because these package versions have conflicting dependencies.

The conflict is caused by: pypardiso 0.4.6 depends on mkl!=2024.0 pypardiso 0.4.5 depends on mkl<2024 pypardiso 0.4.4 depends on mkl<2024 pypardiso 0.4.3 depends on mkl pypardiso 0.4.2 depends on mkl pypardiso 0.4.1 depends on mkl pypardiso 0.4.0 depends on mkl pypardiso 0.3.3 depends on mkl-service pypardiso 0.3.2 depends on mkl-service pypardiso 0.3.1 depends on mkl

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip to attempt to solve the dependency conflict

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

yxtan-xjtu avatar Jun 04 '25 18:06 yxtan-xjtu