lucas-emery / rocket-league-gym

A Gym-like environment for Reinforcement Learning in Rocket League
Apache License 2.0
205 stars 48 forks source link

Installation Error during wheel building #59

Open Gaiben opened 1 year ago

Gaiben commented 1 year ago

Hello,

I got an issue when i try to install rlgym with pip. I tried a lot of setup but i'm here with:

Here is my error: RLGym installation error.txt

Can you check if there is something wrong (I guess there is ofc)

Kind regards

lucas-emery commented 1 year ago

Looks like the issue is just that the installation script is failing to copy the bakkesmod plugin dll to the plugins folder, probably because of missing permissions.

You can put the plugin manually in the bakkesmod plugins folder or try installing rlgym from an administrator cmd.

Even if the installation fails in that last step, rlgym should still install successfully. Can you import it in python after the failure?

lucas-emery commented 1 year ago

Srry, I miss clicked the close button 😅

lucas-emery commented 1 year ago

You can find the plugin here: https://github.com/lucas-emery/rocket-league-gym/tree/main/rlgym/plugin

dolodi commented 1 year ago

hi even after i put the dll inside the plugins in bakkesmod and use admin cmd to install it i still cant import rlgym. It says no module found. Could it be that i have to link the folder as a root path?

randoromm commented 1 year ago

Same issue for me. Initially i get the same error as OP. Python version 3.7.9. After manually installing Bakkesmod RLGym plugin and enabling it, i get the following when trying to launch example.py:

C:\Users\Russo\AppData\Local\Microsoft\WindowsApps\python3.7.exe C:\Users\Russo\Desktop\example.py Traceback (most recent call last): File "C:\Users\Russo\Desktop\example.py", line 1, in <module> import rlgym ModuleNotFoundError: No module named 'rlgym'