Commit a13cdde
authored
Fix greenlet issue for the alternate installer (#218)
This fix is the same as the one for the nsi installer but this time for the alternate one which has its own list of pip commands.
There is an issue with using greenlet v2+ if you do not have the c++ redistributable installed. it causes an error on trying to start rlbotgui that ends with:
from ._greenlet import _C_API # pylint:disable=no-name-in-module
ImportError: DLL load failed: The specified module could not be found.
The latest gevent pins greenlet to 2+, and rlbotgui has in its requirements to just get any gevent version. So this problem likely has affected some people since the first gevent v22 was pushed to pypi on Oct 8 2022.
The versions of gevent prior to 22 pin greenlet to be less than 2 - for example in v21.12 it is (<2.0,>=1.1.3)
This fix will pin gevent to be less than v22.
To replicate the issue and test the fix just try to install rlbotgui on any fresh VM or Windows sandbox mode.1 parent 3d7d722 commit a13cdde
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
0 commit comments