Skip to content

Debian 12 install fail #563

@SoftwareLiteracy

Description

@SoftwareLiteracy

Hi, I tried both a pypi and github install, both fail. The install commands are:

python -m pip install pycortex --target=$PYTHON_SITE_PACKAGES/ --upgrade

python -m pip install git+https://github.com/gallantlab/pycortex.git --target=$PYTHON_SITE_PACKAGES/ --upgrade

The system is:

Linux xxx 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 12 (bookworm)
Release:	12
Codename:	bookworm

> python --version
Python 3.13.1

Excerpt of the error:

  Building wheel for pycortex (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Building wheel for pycortex (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [593 lines of output]
      running bdist_wheel

...

      /home/xxx/apps/Python-3.13.1/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 pycortex
Failed to build pycortex

Thank you.

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