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

Getting requirements to build wheel ... error #177

Open
jurgen178 opened this issue Jan 21, 2025 · 5 comments
Open

Getting requirements to build wheel ... error #177

jurgen178 opened this issue Jan 21, 2025 · 5 comments

Comments

@jurgen178
Copy link

Hi, when cloning and running the install cmd 'pip install -r requirements.txt', I get an error to build 'wheel'.
Pulled the latest on main and have Python 3.13.1 installed.
Any idea what I'm missing? Thanks!
The full output for context is here:

C:\Projects\UFO>pip install -r requirements.txt
Collecting art==6.1 (from -r requirements.txt (line 1))
Using cached art-6.1-py3-none-any.whl.metadata (69 kB)
Collecting colorama==0.4.6 (from -r requirements.txt (line 2))
Using cached colorama-0.4.6-py2.py3-none-any.whl.metadata (17 kB)
Collecting langchain==0.1.11 (from -r requirements.txt (line 3))
Using cached langchain-0.1.11-py3-none-any.whl.metadata (13 kB)
Collecting langchain_community==0.0.27 (from -r requirements.txt (line 4))
Using cached langchain_community-0.0.27-py3-none-any.whl.metadata (8.2 kB)
Collecting msal==1.25.0 (from -r requirements.txt (line 5))
Using cached msal-1.25.0-py2.py3-none-any.whl.metadata (11 kB)
Collecting openai==1.59.7 (from -r requirements.txt (line 6))
Downloading openai-1.59.7-py3-none-any.whl.metadata (27 kB)
Collecting Pillow==10.3.0 (from -r requirements.txt (line 7))
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 "C:\Users\test\AppData\Local\Programs\Python\Python313\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
~~~~^^
File "C:\Users\test\AppData\Local\Programs\Python\Python313\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\test\AppData\Local\Programs\Python\Python313\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "C:\Users\test\AppData\Local\Temp\pip-build-env-38j_ciy5\overlay\Lib\site-packages\setuptools\build_meta.py", line 334, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\test\AppData\Local\Temp\pip-build-env-38j_ciy5\overlay\Lib\site-packages\setuptools\build_meta.py", line 304, in _get_build_requires
self.run_setup()
~~~~~~~~~~~~~~^^
File "C:\Users\test\AppData\Local\Temp\pip-build-env-38j_ciy5\overlay\Lib\site-packages\setuptools\build_meta.py", line 320, in run_setup
exec(code, locals())
~~~~^^^^^^^^^^^^^^^^
File "", line 33, in
File "", 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.

@godofecht
Copy link

Ran into this issue as well...

@SpiersZ
Copy link

SpiersZ commented Feb 2, 2025

I have the same problem

@zhuyanxi
Copy link

@jurgen178 Hi, do you have solve this problem?
This issue arises from using an incompatible Python version. The Pillow package supports specific Python versions, which are detailed in the documentation: https://pillow.readthedocs.io/en/stable/installation/python-support.html . Please You should change to a compatible Python version.

@godofecht
Copy link

I was able to solve this problem and can provide access to a custom repository.
Please email abhishek.shivakumar@gmail with a relevant subject for more info.

@jurgen178
Copy link
Author

@zhuyanxi , as I wrote in my initial comment, I used the latest released Python 3.13.1 when I ran it for the first time.
Thanks for providing the compatibility table, which suggests using 3.12
Installation instruction called for Python >= 3.10

🛠️ Step 1: Installation
UFO requires Python >= 3.10 running on Windows OS >= 10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants