Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error installing Pillow while pip install livekit-plugins-openai #1013

Open
devacc00 opened this issue Oct 30, 2024 · 4 comments
Open

Error installing Pillow while pip install livekit-plugins-openai #1013

devacc00 opened this issue Oct 30, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@devacc00
Copy link

devacc00 commented Oct 30, 2024

Hello, once I try to install pillow

  Using cached pillow-10.3.0.tar.gz (46.6 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [21 lines of output]
      Traceback (most recent call last):
        File "/Users/appleuser/work/test/agents/venv/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
          ~~~~^^
        File "/Users/appleuser/work/test/agents/venv/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
        File "/Users/appleuser/work/test/agents/venv/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/private/var/folders/5b/sp_w2vns0rq0bcr0fb5tyj_m0000gn/T/pip-build-env-baf0d8hh/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=[])
                 ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/private/var/folders/5b/sp_w2vns0rq0bcr0fb5tyj_m0000gn/T/pip-build-env-baf0d8hh/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 303, in _get_build_requires
          self.run_setup()
          ~~~~~~~~~~~~~~^^
        File "/private/var/folders/5b/sp_w2vns0rq0bcr0fb5tyj_m0000gn/T/pip-build-env-baf0d8hh/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 319, in run_setup
          exec(code, locals())
          ~~~~^^^^^^^^^^^^^^^^
        File "<string>", line 33, in <module>
        File "<string>", line 27, in get_version
      KeyError: '__version__'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
(venv) ➜  agents git:(main) ```
@krn-briks
Copy link

Any updates on fixing this>

@JamieBunyassi
Copy link

Change python version

@nbsp nbsp added the bug Something isn't working label Nov 5, 2024
@davidzhao
Copy link
Member

what version of Python are you running? we support 3.9-3.12

@JamieBunyassi
Copy link

Works on 3.11.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants