-
Notifications
You must be signed in to change notification settings - Fork 85
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
Python 3.9.19 (main, Mar 19 2024, 16:08:27)
[Clang 15.0.0 (clang-1500.3.9.4)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import fastdup
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/vl/Library/Python/3.9/lib/python/site-packages/fastdup/__init__.py", line 25, in <module>
import pandas as pd
File "/Users/vl/Library/Python/3.9/lib/python/site-packages/pandas/__init__.py", line 22, in <module>
from pandas.compat import is_numpy_dev as _is_numpy_dev # pyright: ignore # noqa:F401
File "/Users/vl/Library/Python/3.9/lib/python/site-packages/pandas/compat/__init__.py", line 25, in <module>
from pandas.compat.numpy import (
File "/Users/vl/Library/Python/3.9/lib/python/site-packages/pandas/compat/numpy/__init__.py", line 4, in <module>
from pandas.util.version import Version
File "/Users/vl/Library/Python/3.9/lib/python/site-packages/pandas/util/__init__.py", line 2, in <module>
from pandas.util._decorators import ( # noqa:F401
File "/Users/vl/Library/Python/3.9/lib/python/site-packages/pandas/util/_decorators.py", line 14, in <module>
from pandas._libs.properties import cache_readonly
File "/Users/vl/Library/Python/3.9/lib/python/site-packages/pandas/_libs/__init__.py", line 13, in <module>
from pandas._libs.interval import Interval
File "pandas/_libs/interval.pyx", line 1, in init pandas._libs.interval
File "pandas/_libs/hashtable.pyx", line 1, in init pandas._libs.hashtable
File "pandas/_libs/missing.pyx", line 1, in init pandas._libs.missing
File "/Users/israelvinitzer/Library/Python/3.9/lib/python/site-packages/pandas/_libs/tslibs/__init__.py", line 39, in <module>
from pandas._libs.tslibs.conversion import localize_pydatetime
File "pandas/_libs/tslibs/conversion.pyx", line 1, in init pandas._libs.tslibs.conversion
File "pandas/_libs/tslibs/offsets.pyx", line 1, in init pandas._libs.tslibs.offsets
File "pandas/_libs/tslibs/timestamps.pyx", line 1, in init pandas._libs.tslibs.timestamps
File "pandas/_libs/tslibs/timedeltas.pyx", line 1, in init pandas._libs.tslibs.timedeltas
File "pandas/_libs/tslibs/timezones.pyx", line 24, in init pandas._libs.tslibs.timezones
File "/Users/vl/Library/Python/3.9/lib/python/site-packages/dateutil/tz/__init__.py", line 2, in <module>
from .tz import *
File "/Users/vl/Library/Python/3.9/lib/python/site-packages/dateutil/tz/tz.py", line 19, in <module>
import six
ModuleNotFoundError: No module named 'six'
>>>
After changing the numpy to 2.0,
raceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/vl/Library/Python/3.9/lib/python/site-packages/fastdup/__init__.py", line 25, in <module>
import pandas as pd
File "/Users/vl/Library/Python/3.9/lib/python/site-packages/pandas/__init__.py", line 22, in <module>
from pandas.compat import is_numpy_dev as _is_numpy_dev # pyright: ignore # noqa:F401
File "/Users/vl/Library/Python/3.9/lib/python/site-packages/pandas/compat/__init__.py", line 25, in <module>
from pandas.compat.numpy import (
File "/Users/vl/Library/Python/3.9/lib/python/site-packages/pandas/compat/numpy/__init__.py", line 4, in <module>
from pandas.util.version import Version
File "/Users/vl/Library/Python/3.9/lib/python/site-packages/pandas/util/__init__.py", line 2, in <module>
from pandas.util._decorators import ( # noqa:F401
File "/Users/vl/Library/Python/3.9/lib/python/site-packages/pandas/util/_decorators.py", line 14, in <module>
from pandas._libs.properties import cache_readonly
File "/Users/vl/Library/Python/3.9/lib/python/site-packages/pandas/_libs/__init__.py", line 13, in <module>
from pandas._libs.interval import Interval
File "pandas/_libs/interval.pyx", line 1, in init pandas._libs.interval
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
>>>
What did you expect to see?
No response
What version of fastdup were you runnning on?
2.7
What version of Python were you running on?
Python 3.9
Operating System
Sonoma 14.5
Reproduction steps
A workaround is using Python3.10 which works fine.
Relevant log output
No response
Attach a screenshot [Optional]
No response
Contact Details [Optional]
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working