UnrealEngineHTML5 / Documentation

542 stars 183 forks source link

Apple M2 computer having trouble finding python when I run HTML5Setup.sh #155

Open Linosway24 opened 1 year ago

Linosway24 commented 1 year ago

I am running a mac with an M2 chip and it can not find python when I run HTML5Setup.sh. I get this error uild Config Content HTML5Setup.sh Plugins README.md Source ERROR: python is not found.

Is there anything I can do to help it find python

Mootbing commented 1 year ago

https://github.com/UnrealEngineHTML5/Documentation/issues/102

Linosway24 commented 1 year ago

I tried these but it did not work this solution looks to work on windows not a mac since it says

static string PYTHON_VER = "3.7.4-pywin32_64bit"; // Only used on Windows; other platforms use built-in Python. // warning: last checked at 2020/05/27 - emsdk pulls down "3.7.4-pywin32_64bit" -- whereas some time before it was just "3.7.4_64bit"

Also I don't have this path in my files Platforms\HTML5\Build\emsdk\emsdk-1.39.0\python

Screen Shot 2023-06-04 at 7 52 55 PM

. This is an updated error I am getting chmod: /Users/carlino/documents/github/unrealEngine/engine/Binaries/ThirdParty/Python/Mac/bin/python*: No such file or directory

I am running python version 3.9.2

Mootbing commented 1 year ago

may wanna try my tutorial for 4.27 https://www.youtube.com/watch?v=vCfXeYRll_E&t=11s

Linosway24 commented 1 year ago

Mottling, thanks I noticed this was on a pc any chance you have tired it on a mac?

Mootbing commented 1 year ago

Unfortunately no I have not tried this on a mac. Sorry about that. I'm not too sure why it is bugged there.

Linosway24 commented 1 year ago

Motbing just to clarify I was talking about 4.27