PokemonRedExperiments icon indicating copy to clipboard operation
PokemonRedExperiments copied to clipboard

I can't run this on Windows 11

Open sirkingjamz opened this issue 2 years ago • 5 comments

Hey PWhiddy I just finished watching your video on YT it was in my suggested feed cuz I love AI and I love what you've done with this experiment and would love to run it as well. I do own a home lab with multiple server blades (running rather outdated hardware) but none of them have any dedicated GPUs in them (besides my plex blade BUT nothing goes on that machine lol) but my main PC has all the GPUs lol well i have a 3080 in it so its worthy of AI training at least that's what i had in mind with it (until i seen raytracing in action)

ANYWAYS I digress, How can I run this on my main machine? do i need a flavor of linux? i seen you used ubuntu (initially i thought it was a mac lol) I know i can use CPU cores but it'll be slower and thats my final plan is to run this on the homelab for months IRL, after i can get it running and make some small changes to the reward system. I'll contribute any and all changes. (OS4L)

Can anyone help me get this running on a windows machine? It may sound like I'm in over my head if i can get a simple python script running on PC but hey... we all start somewhere :) also I don't want to but if necessary I can run this in a VM (if possible) so if all else fails. Hopefully I wont have to resort to that. Anyone with any insight?

My primary issue is getting the darn requirement files needed within the txt you provided and the conda create, both powershell and terminal (in admin mode) both give error codes, (can't find this, can't find that all in red text, ill make an edit or comment here the exact codes when i run it again following the video) I have python 3.10 installed, in fact, i know the txt was "working" because it trigged python to update v24 or v25(.alot.of.numbers) so maybe I don't have something else installed?

Thanks in advance for any and all help, you are all amazing in your own way and i recognize you for it :)

sirkingjamz avatar Oct 23 '23 05:10 sirkingjamz

Hey! It is a bit tricker to set up on windows. If you can share the errors, I might be able to give more specific tips. As an alternative, if you use WSL2 the setup might go smoother.

Also feel free to pop into the discord, there's folks there who are more experienced running this on windows than me and they might be able to help!

PWhiddy avatar Oct 23 '23 05:10 PWhiddy

Hey! It is a bit tricker to set up on windows. If you can share the errors, I might be able to give more specific tips. As an alternative, if you use WSL2 the setup might go smoother.

Also feel free to pop into the discord, there's folks there who are more experienced running this on windows than me and they might be able to help!

Doesn't the game require a gui? How would you run it on wsl2?

teknium1 avatar Oct 23 '23 18:10 teknium1

You can run it on Windows 11 don't worry, it took me a bit to figure it out but I did it so you can too!! These are the step that I did:

  • install python 3.11.5. You need to install both the 32 bit and the 64 bit version. (when you install remember to check the "path" checkbox on both)
  • install Visual Studio, you need to install the "desktop development with c++" and "universal windows platform development" (it's like 18.8Gb, probably you don't need them both, but who cares it works :))
  • now you should be good with all the requirements in the txt
  • install ffpmeg, ask chatgpt how to make the path variable (let me know if you need more info)

enjoy!

cloudbosspower avatar Oct 23 '23 21:10 cloudbosspower

I had the same issue before @sirkingjamz. This was recommended to me, and it worked.

BEFORE you run the prereqs install on windows do the following

You need to download https://visualstudio.microsoft.com/visual-cpp-build-tools/ first.

Next, navigate to "Individual components", find these two 275896178-4d427af4-7d9a-4865-801b-c710c319bea8

275896279-82f5f73c-7b2c-436e-bbad-1e414d5cc6b2

In your case, you should choose the windows SDK that fits your build.

Run your prereq install.

All done from Windows Command Line

This worked for me without issue once i installed the VS Tool and the Windows SDK.

setomage avatar Oct 24 '23 01:10 setomage

I had the same issue before @sirkingjamz. This was recommended to me, and it worked.

BEFORE you run the prereqs install on windows do the following

You need to download https://visualstudio.microsoft.com/visual-cpp-build-tools/ first.

Next, navigate to "Individual components", find these two 275896178-4d427af4-7d9a-4865-801b-c710c319bea8

275896279-82f5f73c-7b2c-436e-bbad-1e414d5cc6b2

In your case, you should choose the windows SDK that fits your build.

Run your prereq install.

All done from Windows Command Line

This worked for me without issue once i installed the VS Tool and the Windows SDK.

This worked for me just fine. The only additional thing I did was create a Python environment.

Also, to install ffpemg, you can just install it from https://community.chocolatey.org/packages/ffmpeg

luiscosio avatar Oct 24 '23 13:10 luiscosio