Zulip Chat Archive

Stream: new members

Topic: Lean game maker on Windows


Christian Kolker (Jun 22 2022 at 18:09):

I am having trouble with getting lean game maker to work on my windows device. When I try to run the command make-lean-game it says the that command is not found. Anything that can help me?

Chris Birkbeck (Jun 23 2022 at 08:03):

How did you install it?

Eric Wieser (Jun 23 2022 at 09:11):

It looks like its not really properly setup for windows installation, as it does not use entrypoints

Kevin Buzzard (Jun 23 2022 at 09:26):

(I only ever used it on linux)

Chris Birkbeck (Jun 23 2022 at 12:22):

I did it on windows, but used a the Ubuntu WSL.

Christian Kolker (Jun 23 2022 at 12:46):

I installed pynev, nodejs, and gettext on my computer. Also, I have the Lean game maker file on my computer. So, when I try to run the command make-lean-game it says that the command is not found.

Eric Wieser (Jun 23 2022 at 13:38):

Yeah, I think this needs redoing for windows support. I can make a patch if you're willing to test it

Christian Kolker (Jun 23 2022 at 13:50):

Yes I am willing to test it

Eric Wieser (Jun 23 2022 at 13:52):

https://github.com/mpedramfar/Lean-game-maker/pull/30

Eric Wieser (Jun 23 2022 at 13:53):

Are you using that repo or this one? https://github.com/mmasdeu/Lean-game-maker

Christian Kolker (Jun 23 2022 at 13:54):

I am using the second link mmaseu

Eric Wieser (Jun 23 2022 at 13:54):

I guess I'll make the PR for both?

Christian Kolker (Jun 23 2022 at 13:55):

I think that would work for the best

Christian Kolker (Jun 23 2022 at 13:57):

For clarification, I am assuming PR is patch request?

Eric Wieser (Jun 23 2022 at 13:57):

https://github.com/mmasdeu/Lean-game-maker/pull/2/files

Eric Wieser (Jun 23 2022 at 13:58):

Pull request

Christian Kolker (Jun 23 2022 at 13:58):

okay thank you that makes sense

Eric Wieser (Jun 23 2022 at 14:02):

Chris Birkbeck said:

How did you install it?

I'm not sure you ever answered this question

Eric Wieser (Jun 23 2022 at 14:03):

Christian Kolker said:

Also, I have the Lean game maker file on my computer.

Did you install those files somehow, or just put them on your computer?

Christian Kolker (Jun 23 2022 at 14:34):

Step by step, I used anaconda to make sure I have all the necessary python tools and packages, as recommended by other posts. I installed pynev and nodejs on my computer, I think i have gettext installed properly. Then, I cloned the git repository for the Lean game maker file and installed it into my computer. I have the all the folder in my computer because I installed everything

Eric Wieser (Jun 23 2022 at 15:33):

and installed it into my computer

This was the step it sounded like you missed. I assume you followed the install instructions telling you to pip install -e . then, right?

Eric Wieser (Jun 23 2022 at 15:33):

Either way; did my patched version work?

Christian Kolker (Jun 23 2022 at 17:39):

I tried pip install -e . and it didn't work.

Christian Kolker (Jun 23 2022 at 17:40):

Also, how do I use your patched version to run?

Eric Wieser (Jun 23 2022 at 17:51):

Christian Kolker said:

I tried pip install -e . and it didn't work.

Did it give an error message?

Eric Wieser (Jun 23 2022 at 17:53):

Christian Kolker said:

Also, how do I use your patched version to run?

You'll need to clone my fork and checkout the branch that that PR refers to

Julian Berman (Jun 23 2022 at 17:56):

Or just pip install git+'https://github.com/eric-wieser/Lean-game-maker@entry_points-mmasdeu' but depending on the error message you still may have what to fix.

Christian Kolker (Jun 23 2022 at 18:16):

Yes, the error message says pip : command not found

Eric Wieser (Jun 23 2022 at 18:33):

It would have helped if you'd told us that information much earlier! If you skip steps in install instructions because they don't work, then those are the first things you should look at when you find the installation is broken. If you didn't run that command successfully, then you didn't install it at all.

Christian Kolker (Jun 23 2022 at 18:51):

I really thought everything was working correctly. I will go back and review every step to see if i did everything correctly

Chris Birkbeck (Jun 24 2022 at 08:07):

I recommend using the Ubuntu WSL and following the steps using that. That worked for me, the only change I had to made was to use sudo pip install -e . instead.


Last updated: Dec 20 2023 at 11:08 UTC