Import Issue
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 29
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I followed the instructions on the installation of memsurfer, but when I try to import memsurfer I get a ndarray error. I wondering if I could get some help on this. This is the error that I receive.
Python 3.9.10 | packaged by conda-forge | (main, Feb 1 2022, 21:24:37)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import memsurfer
Traceback (most recent call last):
File "", line 1, in
File "/home/max/Desktop/Packages_Programs/MemSurfer/memsurfer/__init__.py", line 15, in
from .membrane import Membrane
File "/home/max/Desktop/Packages_Programs/MemSurfer/memsurfer/membrane.py", line 19, in
from pypoisson import poisson_reconstruction
File "pypoisson/pypoisson.pyx", line 1, in init pypoisson
#cython: language_level=3str
ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
>>> exit
Use exit() or Ctrl-D (i.e. EOF) to exit
>>> exit()
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the import under the reported Python 3.9 and conda-forge environment. Read memsurfer/__init__.py and memsurfer/membrane.py to trace the pypoisson import, then inspect pypoisson/pypoisson.pyx and the installed NumPy build details. Done means identifying compatible dependency or build conditions and confirming that import memsurfer succeeds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- numpy, python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100