Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install compile error with python 3.13 and Jupyter requirements.txt file #263

Open
raydnichols opened this issue Feb 8, 2025 · 0 comments

Comments

@raydnichols
Copy link

Describe the bug
You cannot pip install the Jupyter requirements.txt file in python version 3.13. Version 3.12 is fine.

To Reproduce
Steps to reproduce the behavior:

GarminDB/Jupyter$ pip install -r ./requirements.txt

Expected behavior

...
Successfully built pandas
...

Additional context
The error with 3.13 is

     pandas/_libs/algos.c: In function ‘__Pyx_PyInt_As_char’:
      pandas/_libs/algos.c:179228:27: error: too few arguments to function ‘_PyLong_AsByteArray’
      179228 |                 int ret = _PyLong_AsByteArray((PyLongObject *)v,
             |                           ^~~~~~~~~~~~~~~~~~~
      In file included from /home/rnichols/.pyenv/versions/3.13.0/include/python3.13/longobject.h:107,
                       from /home/rnichols/.pyenv/versions/3.13.0/include/python3.13/Python.h:81,
                       from pandas/_libs/algos.c:46:
      /home/rnichols/.pyenv/versions/3.13.0/include/python3.13/cpython/longobject.h:111:17: note: declared here
        111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v,
            |                 ^~~~~~~~~~~~~~~~~~~
      error: command '/usr/bin/gcc' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pandas
Failed to build pandas
ERROR: Failed to build installable wheels for some pyproject.toml based projects (pandas)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant