uv icon indicating copy to clipboard operation
uv copied to clipboard

Python 32 bit on windows overflowed on installing `greenlet`.

Open T-256 opened this issue 1 year ago • 6 comments

>uv venv --python "C:\Python311x86\python.exe"
Using Python 3.11.9 interpreter at: C:\Python311x86\python.exe
Creating virtualenv at: .venv
Activate with: .venv\Scripts\activate

>uv pip install playwright
Resolved 4 packages in 3.41s
Building greenlet==3.0.3
░░░░░░░░░░░░░░░░░░░░ [0/1] Fetching packages...
thread 'main' has overflowed its stack

>.venv\Scripts\python.exe --version
Python 3.11.9

>uv --version
uv 0.1.28 (471cb2bfd 2024-04-03)

Windows 11 (23H2) - Python 3.11.9 (32 bit)

T-256 avatar Apr 03 '24 11:04 T-256

Is there a specific reasons you are using 32-bit python (i hope i didn't miss the answer to that question in another thread)? As far as i can tell, there is no 32-bit build of windows 11

konstin avatar Apr 03 '24 14:04 konstin

As far as i can tell, there is no 32-bit build of windows 11

I'm using Python 32 bit on Windows 64 bit

T-256 avatar Apr 03 '24 17:04 T-256

Yeah but why not 64bit Python? :)

zanieb avatar Apr 03 '24 17:04 zanieb

For a long time it was first choice if you went to python.org, https://discuss.python.org/t/consider-downgrading-windows-32-bit-from-tier-1-to-tier-2-or-tier-3-in-python-3-13/33719/4

I think that’s changed recently but until year ago many windows users just picked 32 bit without thinking about which one.

hmc-cs-mdrissi avatar Apr 03 '24 17:04 hmc-cs-mdrissi

Yeah but why not 64bit Python? :)

Because I'm accessing some external apps memory where it needs to be 32bit to be able to access.

T-256 avatar Apr 03 '24 18:04 T-256

Thanks for the context. We have problems with stack size on Windows... #941

zanieb avatar Apr 03 '24 18:04 zanieb

>uv pip install playwright
Resolved 4 packages in 4.84s
   Built greenlet==3.0.3
Downloaded 4 packages in 1m 48s
Installed 4 packages in 350ms
 + greenlet==3.0.3
 + playwright==1.44.0
 + pyee==11.1.0
 + typing-extensions==4.11.0

>uv --version
uv 0.1.44 (d417daad7 2024-05-14)

T-256 avatar May 19 '24 20:05 T-256

Thank you for following up!

zanieb avatar May 19 '24 21:05 zanieb