Skip to content
This repository was archived by the owner on Sep 29, 2025. It is now read-only.
This repository was archived by the owner on Sep 29, 2025. It is now read-only.

Installation fails #128

@tsfran

Description

@tsfran

I'm trying to use selenium-driverless and specify a user profile (user_data_dir), so I've tried to install selenium-profiles 2.2.5 but keep encountering an error.

I've tried to install various version of Pillow with no success (I do not have PIL)

Any ideas?

Python 3.13.3
Windows 11 64-bit

Attempted installation apparently fails at...
.
.
.
Collecting pillow~=9.4 (from selenium-interceptor->selenium-profiles)
Using cached Pillow-9.5.0.tar.gz (50.5 MB)
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
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<32 lines>...
exec(compile(setup_py_code, filename, "exec"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
''' % ('C:\Users\xxxx\AppData\Local\Temp\pip-install-h3j1s3tu\pillow_44c8aeb547094854b7c88a633f1e942a\setup.py',), "", "exec"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 35, in
File "C:\Users\xxxx\AppData\Local\Temp\pip-install-h3j1s3tu\pillow_44c8aeb547094854b7c88a633f1e942a\setup.py", line 29, in
PILLOW_VERSION = get_version()
File "C:\Users\xxxx\AppData\Local\Temp\pip-install-h3j1s3tu\pillow_44c8aeb547094854b7c88a633f1e942a\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.

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