Skip to content

Commit a13cdde

Browse files
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

File tree

alternative-install/RLBotGUI.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ if %errorlevel% == 0 (
4040
echo Installing / upgrading RLBot components...
4141
python -m pip install --upgrade pip
4242
pip install wheel
43+
pip install gevent^<22
4344
pip install eel
4445
pip install --upgrade rlbot_gui rlbot
4546
) else (

0 commit comments

Comments
 (0)