Skip to content

Version problems of scipy package in pycce #22

@XuliangDu

Description

@XuliangDu

Hello! I really appreciate your CCE tool in Python. It would be extremely helpful for my study of spin qubit dynamics. This is my first time raising an issue on GitHub, so please excuse me if anything is unclear or improperly formatted.

When attempting to use pycce, I encountered an import error related to isintlike from scipy.sparse.sputils.

Steps to Reproduce the error:
Environment:
Colab
Python 3.11.12
SciPy 1.15.2

Error Trigger:
/usr/local/lib/python3.11/dist-packages/pycce/bath/map.py in
-->6 from scipy.sparse.sputils import isintlike

Error Message:
ImportError: cannot import name 'isintlike' from 'scipy.sparse.sputils' (/usr/local/lib/python3.11/dist-packages/scipy/sparse/sputils.py)

Attempted Solutions:
Downgraded Scipy, but encountered dependency conflicts requiring downgrades of other packages.

Could you provide a tested version combination of Python, SciPy, NumPy, ase, pandas, numba, and pycce that resolves this import conflict? Any guidance would be greatly appreciated!

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