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

'Unable to create Windows launch for x86' while installing packages #3660

Closed
anishpillay2002 opened this issue May 19, 2024 · 7 comments · Fixed by #3873
Closed

'Unable to create Windows launch for x86' while installing packages #3660

anishpillay2002 opened this issue May 19, 2024 · 7 comments · Fixed by #3873
Labels
windows Specific to the Windows platform

Comments

@anishpillay2002
Copy link

anishpillay2002 commented May 19, 2024

I receive the following error while trying to install packages with uv but pip install crewai works fine

I've also attached a text file with the output with using verbose flag.
verbose_output.txt

PS D:\Temp\test> py -3.11 -m uv venv
Using Python 3.8.2 interpreter at: C:\Python38\python.exe
Creating virtualenv at: .venv
Activate with: .venv\Scripts\activate
PS D:\Temp\test> py -3.11 -m uv venv --python 3.11
Using Python 3.11.0 interpreter at: C:\Users\Anish Pillay\AppData\Local\Programs\Python\Python311\python.exe
Creating virtualenv at: .venv
Activate with: .venv\Scripts\activate
PS D:\Temp\test> .\.venv\Scripts\activate
(test) PS D:\Temp\test> uv pip install crewai
error: Failed to download and build `pypika==0.48.9`
  Caused by: Failed to build: `pypika==0.48.9`
  Caused by: Failed to install requirements from build-system.requires (install)
  Caused by: Failed to install build dependencies
  Caused by: Failed to install: wheel-0.43.0-py3-none-any.http.whl (wheel==0.43.0)
  Caused by: Unable to create Windows launch for x86 (only x64_64 is supported)
(test) PS D:\Temp\test> uv --version
uv 0.1.44 (d417daad7 2024-05-14)
(test) PS D:\Temp\test> python --version
Python 3.11.0
@charliermarsh charliermarsh added the windows Specific to the Windows platform label May 20, 2024
@charliermarsh
Copy link
Member

Unclear if we'll add support for 32-bit launchers.

@zakimimit
Copy link

the same problem

Resolved 28 packages in 19ms
error: Failed to install: auto_py_to_exe-2.43.3-py2.py3-none-any.http.whl (auto-py-to-exe==2.43.3)
Caused by: Unable to create Windows launch for x86 (only x64_64 is supported)

i hope you fix it

@zakimimit
Copy link

zakimimit commented May 27, 2024

My only solution is remove uv from the x86 version of python
so the when call uv pip ... it works perfectly without error

only problem that you will face is "pip install --upgrade pip"
is not working and you can't upgrade it I don't know if there is any problem that can appear if there is no update because the uv handles the installation of packages.

I hope the team explain more the tool and how the tool handles the installation of packages.

My best regards

and thank for the dev team for this valuable tool
@anishpillay2002
@charliermarsh

@charliermarsh
Copy link
Member

Thanks @zakimimit. We'll look into supporting x86 launchers, at least see how hard it is.

Can you repeat your question? I'm having trouble following it exactly.

@zakimimit
Copy link

zakimimit commented May 27, 2024

the is problem that "pip install --upgrade pip"
is not working and you can't upgrade it
I don't know if there is any problem that can appear if there is no update because the uv handles the installation of packages.

so my question that when I create virtual env , I always use pip install --upgrade pip.

is there any problem I will face if the don't use it because uv not support it , and the uv handle the insatlaion unstand of pip .

if you can give a bref explaniation of how uv tool handles the installation of packages.

so we get clear vison of how we use it
@charliermarsh

@charliermarsh
Copy link
Member

Are you using uv venv to create a virtualenv, then pip install --upgrade pip inside it? If so, try uv venv --seed instead of uv venv.

@zakimimit
Copy link

zakimimit commented May 27, 2024

yes i use uv venv

1- so they are no need of pip installer ?
2- can you explain what the uv venv --seed dose ?

@charliermarsh

charliermarsh pushed a commit that referenced this issue May 28, 2024
Add trampolines for x86 windows.

Closes #3660.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
windows Specific to the Windows platform
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants