Getting requirements to build wheel ... error
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
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.
Ran into this issue as well...
I have the same problem
@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.
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.
@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.
I'm going to add that on my setup it works solely with python 3.10 (pandas won't build with 3.12).