Skip to content

Issue with pandas #230

@dlnija

Description

@dlnija

Hello everyone,

When installing magic-impute in a desired environment with pip, pandas is downgraded to version 2.0.3, which causes dependencies issues in most cases.
After updating pandas to version 3.0.0, MAGIC continues to work well.

Here, I installed magic-impute in a new environment:

Collecting pandas>=0.25 (from magic-impute)
  Using cached pandas-3.0.1-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.metadata (79 kB)
Collecting scprep>=1.0 (from magic-impute)
  Using cached scprep-1.2.3-py3-none-any.whl.metadata (7.0 kB)
Collecting pygsp>=0.5.1 (from graphtools>=1.4.0->magic-impute)
  Using cached pygsp-0.6.1-py3-none-any.whl.metadata (12 kB)
Collecting Deprecated (from graphtools>=1.4.0->magic-impute)
  Using cached deprecated-1.3.1-py2.py3-none-any.whl.metadata (5.9 kB)
Collecting python-dateutil>=2.8.2 (from pandas>=0.25->magic-impute)
  Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
Collecting six>=1.5 (from python-dateutil>=2.8.2->pandas>=0.25->magic-impute)
  Using cached six-1.17.0-py2.py3-none-any.whl.metadata (1.7 kB)
Collecting joblib>=1.3.0 (from scikit-learn>=0.19.1->magic-impute)
  Using cached joblib-1.5.3-py3-none-any.whl.metadata (5.5 kB)
Collecting threadpoolctl>=3.2.0 (from scikit-learn>=0.19.1->magic-impute)
  Using cached threadpoolctl-3.6.0-py3-none-any.whl.metadata (13 kB)
Collecting decorator>=4.3.0 (from scprep>=1.0->magic-impute)
  Using cached decorator-5.2.1-py3-none-any.whl.metadata (3.9 kB)
Collecting pandas>=0.25 (from magic-impute)
  Using cached pandas-2.0.3.tar.gz (5.3 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

.....

File "<string>", line 19, in <module>
      ModuleNotFoundError: No module named 'pkg_resources'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'pandas' when getting requirements to build wheel

This is also an error that occurs for some of us, but it isn't an issue in all cases.

Thank you for your work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions