Windows#
Interactive Table: 26 Hunts#
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.2.2 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.
Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/Users/wardog/Library/Python/3.12/lib/python/site-packages/ipykernel_launcher.py", line 17, in <module>
app.launch_new_instance()
File "/Users/wardog/Library/Python/3.12/lib/python/site-packages/traitlets/config/application.py", line 1075, in launch_instance
app.start()
File "/Users/wardog/Library/Python/3.12/lib/python/site-packages/ipykernel/kernelapp.py", line 701, in start
self.io_loop.start()
File "/Users/wardog/Library/Python/3.12/lib/python/site-packages/tornado/platform/asyncio.py", line 205, in start
self.asyncio_loop.run_forever()
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/base_events.py", line 638, in run_forever
self._run_once()
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/base_events.py", line 1971, in _run_once
handle._run()
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/events.py", line 84, in _run
self._context.run(self._callback, *self._args)
File "/Users/wardog/Library/Python/3.12/lib/python/site-packages/ipykernel/kernelbase.py", line 534, in dispatch_queue
await self.process_one()
File "/Users/wardog/Library/Python/3.12/lib/python/site-packages/ipykernel/kernelbase.py", line 523, in process_one
await dispatch(*args)
File "/Users/wardog/Library/Python/3.12/lib/python/site-packages/ipykernel/kernelbase.py", line 429, in dispatch_shell
await result
File "/Users/wardog/Library/Python/3.12/lib/python/site-packages/ipykernel/kernelbase.py", line 767, in execute_request
reply_content = await reply_content
File "/Users/wardog/Library/Python/3.12/lib/python/site-packages/ipykernel/ipkernel.py", line 429, in do_execute
res = shell.run_cell(
File "/Users/wardog/Library/Python/3.12/lib/python/site-packages/ipykernel/zmqshell.py", line 549, in run_cell
return super().run_cell(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/IPython/core/interactiveshell.py", line 3009, in run_cell
result = self._run_cell(
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/IPython/core/interactiveshell.py", line 3064, in _run_cell
result = runner(coro)
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/IPython/core/async_helpers.py", line 129, in _pseudo_sync_runner
coro.send(None)
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/IPython/core/interactiveshell.py", line 3269, in run_cell_async
has_raised = await self.run_ast_nodes(code_ast.body, cell_name,
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/IPython/core/interactiveshell.py", line 3448, in run_ast_nodes
if await self.run_code(code, result, async_=asy):
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/IPython/core/interactiveshell.py", line 3508, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "/var/folders/9z/8xhqw8x1611fcbhzl339yrs40000gn/T/ipykernel_76656/1556217999.py", line 1, in <module>
import pandas as pd
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pandas/__init__.py", line 26, in <module>
from pandas.compat import (
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pandas/compat/__init__.py", line 27, in <module>
from pandas.compat.pyarrow import (
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pandas/compat/pyarrow.py", line 8, in <module>
import pyarrow as pa
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pyarrow/__init__.py", line 65, in <module>
import pyarrow.lib as _lib
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
File /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/numpy/core/_multiarray_umath.py:44, in __getattr__(attr_name)
39 # Also print the message (with traceback). This is because old versions
40 # of NumPy unfortunately set up the import to replace (and hide) the
41 # error. The traceback shouldn't be needed, but e.g. pytest plugins
42 # seem to swallow it and we should be failing anyway...
43 sys.stderr.write(msg + tb_msg)
---> 44 raise ImportError(msg)
46 ret = getattr(_multiarray_umath, attr_name, None)
47 if ret is None:
ImportError:
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.2.2 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
Cell In[1], line 1
----> 1 import pandas as pd
2 import itables.options as opt
3 from itables import init_notebook_mode
File /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pandas/__init__.py:49
46 # let init-time option registration happen
47 import pandas.core.config_init # pyright: ignore[reportUnusedImport] # noqa: F401
---> 49 from pandas.core.api import (
50 # dtype
51 ArrowDtype,
52 Int8Dtype,
53 Int16Dtype,
54 Int32Dtype,
55 Int64Dtype,
56 UInt8Dtype,
57 UInt16Dtype,
58 UInt32Dtype,
59 UInt64Dtype,
60 Float32Dtype,
61 Float64Dtype,
62 CategoricalDtype,
63 PeriodDtype,
64 IntervalDtype,
65 DatetimeTZDtype,
66 StringDtype,
67 BooleanDtype,
68 # missing
69 NA,
70 isna,
71 isnull,
72 notna,
73 notnull,
74 # indexes
75 Index,
76 CategoricalIndex,
77 RangeIndex,
78 MultiIndex,
79 IntervalIndex,
80 TimedeltaIndex,
81 DatetimeIndex,
82 PeriodIndex,
83 IndexSlice,
84 # tseries
85 NaT,
86 Period,
87 period_range,
88 Timedelta,
89 timedelta_range,
90 Timestamp,
91 date_range,
92 bdate_range,
93 Interval,
94 interval_range,
95 DateOffset,
96 # conversion
97 to_numeric,
98 to_datetime,
99 to_timedelta,
100 # misc
101 Flags,
102 Grouper,
103 factorize,
104 unique,
105 value_counts,
106 NamedAgg,
107 array,
108 Categorical,
109 set_eng_float_format,
110 Series,
111 DataFrame,
112 )
114 from pandas.core.dtypes.dtypes import SparseDtype
116 from pandas.tseries.api import infer_freq
File /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pandas/core/api.py:1
----> 1 from pandas._libs import (
2 NaT,
3 Period,
4 Timedelta,
5 Timestamp,
6 )
7 from pandas._libs.missing import NA
9 from pandas.core.dtypes.dtypes import (
10 ArrowDtype,
11 CategoricalDtype,
(...)
14 PeriodDtype,
15 )
File /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pandas/_libs/__init__.py:18
16 import pandas._libs.pandas_parser # isort: skip # type: ignore[reportUnusedImport]
17 import pandas._libs.pandas_datetime # noqa: F401 # isort: skip # type: ignore[reportUnusedImport]
---> 18 from pandas._libs.interval import Interval
19 from pandas._libs.tslibs import (
20 NaT,
21 NaTType,
(...)
26 iNaT,
27 )
File interval.pyx:1, in init pandas._libs.interval()
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject