-
Notifications
You must be signed in to change notification settings - Fork 286
Description
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [18 lines of output]
Traceback (most recent call last):
File "", line 2, in
exec(compile('''
~~~~^^^^^^^^^^^^
# This is -- a caller that pip uses to run setup.py
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<31 lines>...
exec(compile(setup_py_code, filename, "exec"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
''' % ('/private/var/folders/0z/hf6kkq097p1g470bvkrgd03c0000gn/T/pip-install-2iu59t_a/pillow_9b19af632719473d80cc6bcff15e8e7d/setup.py',), "", "exec"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 34, in
File "/private/var/folders/0z/hf6kkq097p1g470bvkrgd03c0000gn/T/pip-install-2iu59t_a/pillow_9b19af632719473d80cc6bcff15e8e7d/setup.py", line 29, in
PILLOW_VERSION = get_version()
File "/private/var/folders/0z/hf6kkq097p1g470bvkrgd03c0000gn/T/pip-install-2iu59t_a/pillow_9b19af632719473d80cc6bcff15e8e7d/setup.py", line 26, in get_version
return locals()["version"]
~~~~~~~~^^^^^^^^^^^^^^^
KeyError: 'version'
[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.