question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

binary incompatibility C and python

See original GitHub issue

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  • CDlib version: latest from pip
  • Operating System: OsX: 10.15.7
  • Python version: 3.8.8
  • Version(s) of CDlib required libraries
from cdlib import algorithms
# requires
# brew install libom
import networkx as nx

G = nx.karate_club_graph()
coms = algorithms.infomap(G)
# fails with:
# ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:15 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Yquetzalcommented, Jul 17, 2021

Same here, works like a charm

1reaction
andrewhong5297commented, Jul 17, 2021

everything is working now, thank you for the quick fix @GiulioRossetti 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

ValueError: numpy.ndarray size changed, may indicate binary ...
I'm in Python 3.8.5. It sounds too simple to be real, but I had this same issue and all I did was reinstall...
Read more >
C API Stability — Python 3.11.1 documentation
CPython's Application Binary Interface (ABI) is forward- and backwards-compatible across a minor release (if these are compiled the same way; see Platform ...
Read more >
Binary Compatibility — PyOxidizer 0.8.0 documentation
Binaries produced with PyOxidizer should be able to run nearly anywhere. ... There is also currently a dependency on the Universal C Runtime...
Read more >
HPy: binary compatibility and API evolution with Kiwisolver
In this post, we are going to take a look at the binary compatibility and API ... HPy is an alternative to the...
Read more >
"may indicate binary incompatibility" - Google Groups
I installed the Enthought Python Distribution 6.1 on my 32-bit Windows XP system. Now when I import my module written in Cython, I...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found