Skip to content

Undeclared dependency #27

@uvlad7

Description

@uvlad7

import six, but fails if six is not installed already

$ pip install yajl-py                                                                                                                                                                                                      
Collecting yajl-py
 Downloading yajl-py-2.1.2.tar.gz (7.8 kB)
 Preparing metadata (setup.py) ... error
 error: subprocess-exited-with-error
 
 × python setup.py egg_info did not run successfully.
 │ exit code: 1
 ╰─> [10 lines of output]
     Traceback (most recent call last):
       File "<string>", line 2, in <module>
       File "<pip-setuptools-caller>", line 34, in <module>
       File "/tmp/pip-install-c00bxoh6/yajl-py_3c7d347733d9465e8c20e5e1ffc77047/setup.py", line 4, in <module>
         from yajl import __version__ as version
       File "/tmp/pip-install-c00bxoh6/yajl-py_3c7d347733d9465e8c20e5e1ffc77047/yajl/__init__.py", line 18, in <module>
         from .yajl_parse import (
       File "/tmp/pip-install-c00bxoh6/yajl-py_3c7d347733d9465e8c20e5e1ffc77047/yajl/yajl_parse.py", line 6, in <module>
         import six
     ModuleNotFoundError: No module named 'six'
     [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.

[notice] A new release of pip is available: 24.0 -> 25.1.1
[notice] To update, run: pip install --upgrade pip

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