Skip to content

BioSCRAPE installation issues with NumPy 2 #182

@murrayrm

Description

@murrayrm

Zoila Jurado says:

An issue has arisen with installing bioscrape, the error message on CoLab is shown below.

Image

Ayush Pandey says

It seems that Colab is using numpy v2.0 and above now. Bioscrape installation does not work with numpy versions greater than 2 (we need to fix this). For now, a temporary fix on Google Colab is to force install an older version of numpy and then install bioscrape: 

!pip install "numpy<2"
!pip install bioscrape

I tried running unit tests on MacOS with NumPy 2.2 installed and everything was OK. Is the problem just in installation?

Also, from the error message that Zoila posted, it looks like we are still using setup.py for installation? If so, we should probably shift to pyproject.toml based installation (with pip), which is now standard.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions