HenriquesLab / HenriquesLab/ZeroCostDL4Mic

ImportError: multi.core.array failed to import

Open
#346 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

dependencies
Dominant language
Jupyter Notebook
Stars
652
Forks
144
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
When I try to run cellpose and load the dependencies, the program fails to import these dependencies.

To Reproduce
The program reports the following RuntimeError:
RuntimeError: module compiled against ABI version 0x1000009 but this version of numpy is 0x2000000

I tried to downgrade my version of numpy, by uninstalling and installing 1.20.0 however, still this error occurs.

Has anyone encountered this as well and how did you resolve this issue?

Thank you in advance.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report names cellpose, NumPy, and an ABI mismatch but no repository file, test, or entry point. Start by reproducing the dependency import in the Google Colab or Jupyter environment and checking the installed NumPy version; done means identifying the supported dependency combination and a repository-specific resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, numpy
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.