Skip to content

Import error when running NegMAS 0.15.1.post1 with Pandas 3.0 #78

@rainframe

Description

@rainframe

After running pip install negmas I got the following error when running negotiate -s 50: ImportError: cannot import name 'Callable' from 'pandas.core.window.numba_' (./.venv/lib64/python3.14/site-packages/pandas/core/window/numba_.py)

NegMas is not yet compatible with Pandas 3.0. My suggested fix: in src/negmas/scripts/negotiate.py replace from pandas.core.window.numba_ import Callable with from typing import Callable.

Disclosure: debugging has been done with help of AI, but this issue has been written by hand and the suggested fix works for me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions