Skip to content

Unable to install: 'Failed building wheel for bpylist' #3

@harveyrandall

Description

@harveyrandall

Python version: 3.11.2
Datasette version: 0.64.2

Attempting to install this plugin using datasette install datasette-bplist fails to install with error: ERROR: Failed building wheel for bpylist.

The error occurs when it attempts to compile src/bplist.c:

      src/bplist.c:2:10: fatal error: 'pytime.h' file not found
      #include <pytime.h>
               ^~~~~~~~~~
      1 error generated.
      error: command '/usr/bin/clang' 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 bpylist
  Running setup.py clean for bpylist
Failed to build bpylist

After some reading this error is happening because in Python 3.10 some header files, including pytime.h, were moved into the cpython subdirectory which is why it cannot find the file. As bpylist hasn't been updated in years and is unmaintained it seems unlikely they'll respond to an issue or pull request to fix the issue I'm not sure how I can install this plugin without a new version that doesn't use bpylist.

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