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

M3芯片因无法install mkl 和 pypardiso 而 pip3 install -e . 报错 #687

Open
Jingbx opened this issue May 13, 2024 · 3 comments
Open

Comments

@Jingbx
Copy link

Jingbx commented May 13, 2024

ERROR: Cannot install fealpy 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 attempt to solve the dependency conflict

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

尝试安装mkl
❯ pip install mkl
ERROR: Could not find a version that satisfies the requirement mkl (from versions: none)
ERROR: No matching distribution found for mkl
❯ conda search mkl
Loading channels: done
No match found for: mkl. Search: mkl

@Jingbx
Copy link
Author

Jingbx commented May 13, 2024

MKL库至今不支持ARM芯片架构,不知如何安装fealpy呢?直接pip install fealpy会导致很多函数无法调用,pkt中的库不全

@weihuayi
Copy link
Owner

@Jingbx 我更新了README.md 中 From source 的安装过程。默认的 pip install -e . 不会安装 pypardiso 和 MKL,解法器请选择用其它的解法器。

@Jingbx
Copy link
Author

Jingbx commented May 14, 2024

非常感谢您的回复!🙏

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

2 participants