You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
✖ pip install python-cdb
Collecting python-cdb
Using cached python-cdb-0.35.tar.gz (19 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [11 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/private/var/folders/f1/qj3m1q9507d2_7rnqwfgzyrm0000gp/T/pip-install-18svtd17/python-cdb_8f82bd43dc6740eca3362661cc4d7001/setup.py", line 25, in <module>
ext_modules = [ Extension(
^^^^^^^^^^
File "/Users/glen/scm/delfi/api/pix-redirect-to-media-api-image-cropper/csv2cdb.py/.direnv/python-3.11/lib/python3.11/site-packages/setuptools/extension.py", line 130, in __init__
super().__init__(name, sources, *args, **kw)
File "/Users/glen/scm/delfi/api/pix-redirect-to-media-api-image-cropper/csv2cdb.py/.direnv/python-3.11/lib/python3.11/site-packages/setuptools/_distutils/extension.py", line 110, in __init__
raise AssertionError("'sources' must be a list of strings")
AssertionError: 'sources' must be a list of strings
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Activity
pyhakr commentedon Nov 28, 2016
currently doing a py3 conversion of private automation system and willing to help out.
glensc commentedon Jun 2, 2023
is this error related to lack of python3 support?
merwok commentedon Jun 2, 2023
Yes: the setup script uses the
mapfunction to get a list of C source files, which returns a list in python 2 and a custom iterable in python 3.This repo does not seem active, interested people could create a fork, address the issues and publish with a different name on PyPI.
bbayles commentedon Jun 2, 2023
pure-cdbhas a python-cdn compatibility mode, FWIW.