Skip to content

Getting an error in Google Colab #27

@mowshon

Description

@mowshon

I'm trying to run the example from Google Colab, which is linked in the repository, I don't change anything, I leave the same default values that are specified there.

Google Colab: https://colab.research.google.com/github/Bellingcat/ShadowFinder/blob/main/ShadowFinderColab.ipynb

But I get this error:

ValueError                                Traceback (most recent call last)
[<ipython-input-1-5927e359a498>](https://localhost:8080/#) in <cell line: 0>()
     23 get_ipython().system('[ ! -f "deps_loaded" ] && pip install shadowfinder >> {logfile} 2>&1 && touch deps_loaded')
     24 
---> 25 from shadowfinder import ShadowFinder
     26 import datetime
     27 

8 frames
[/usr/local/lib/python3.11/dist-packages/numpy/random/_pickle.py](https://localhost:8080/#) in <module>
----> 1 from .mtrand import RandomState
      2 from ._philox import Philox
      3 from ._pcg64 import PCG64, PCG64DXSM
      4 from ._sfc64 import SFC64
      5 

numpy/random/mtrand.pyx in init numpy.random.mtrand()

ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions