UnrealEngineHTML5 / Documentation

542 stars 183 forks source link

MAC: Install HTML5Setup.sh failed #134

Open Rodmuzik opened 2 years ago

Rodmuzik commented 2 years ago

if someone can help, really appreciate.

rodmuzik@RodmuzikM1Max ~ % cd ue4-4.24.3-html5 rodmuzik@RodmuzikM1Max ue4-4.24.3-html5 % cd Engine/Platforms/HTML5 ./HTML5Setup.sh Build Config Content HTML5Setup.sh Intermediate Plugins README.md Source ERROR: python is not found rodmuzik@RodmuzikM1Max HTML5 %

Rodmuzik commented 2 years ago

my python is Python 3.10.4

rodmuzik@RodmuzikM1Max ~ % python3 Python 3.10.4 (v3.10.4:9d38120e33, Mar 23 2022, 17:29:05) [Clang 13.0.0 (clang-1300.0.29.30)] on darwin Type "help", "copyright", "credits" or "license" for more information.

zlatnaspirala commented 2 years ago

Try to remove env paths vars for python. HTML5Setup.sh will do everything for you. No need to remove your already installed Python just remove it from env. I am not sure 100% at the moment but you can try it.

Rodmuzik commented 2 years ago

Sorry, could you tell more detail? Thx you so much

Rodmuzik commented 2 years ago

Please, Anyone can help?

really appreciate!

zlatnaspirala commented 2 years ago

Didi you try to remove it from env paths ?

Help links;

Rodmuzik commented 2 years ago

thx YOU! but I try this way, but it only can add PATH. can't find way to remove it

Rodmuzik commented 2 years ago

Last login: Fri Jun 3 00:30:19 on ttys000 rodmuzik@RodmuzikM1Max ~ % export HOME=/Users/rodmuzik HOMEBREW_CELLAR=/opt/homebrew/Cellar HOMEBREW_PREFIX=/opt/homebrew HOMEBREW_REPOSITORY=/opt/homebrew INFOPATH=/opt/homebrew/share/info: LANG=zh_TW.UTF-8 LOGNAME=rodmuzik MANPATH=/opt/homebrew/share/man:: OLDPWD=/Users/rodmuzik PATH=/opt/homebrew/bin:/opt/homebrew/sbin:/opt/local/bin:/opt/local/sbin:/Library/Frameworks/Python.framework/Versions/3.10/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin PWD=/Users/rodmuzik SHELL=/bin/zsh SHLVL=1 SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.ZC97iLk81W/Listeners TERM=xterm-256color TERM_PROGRAM=Apple_Terminal TERM_PROGRAM_VERSION=444 TERM_SESSION_ID=1F1FF789-9868-4C3C-9AEB-D3D58FD08894 TMPDIR=/var/folders/c3/6cx1kh9x4pq9hr5lqxkpwmtw0000gn/T/ USER=rodmuzik XPC_FLAGS=0x0 XPC_SERVICE_NAME=0 __CFBundleIdentifier=com.apple.Terminal rodmuzik@RodmuzikM1Max ~ %

slimcheng commented 5 months ago

just remove

if ! [ -x "$(command -v python)" ]; then
     echo *** ERROR: python is not found
     exit -1
fi

from HTML5Setup.sh

zlatnaspirala commented 5 months ago

Hi man , SOund crazy but is true you need to eliminate all ENV VARS for python - (remove/delete)

This setup has its own python installation...

On Wed, Jun 5, 2024 at 3:28 PM slimcheng @.***> wrote:

just remove

if ! [ -x "$(command -v python)" ]; then echo *** ERROR: python is not found exit -1 fi

from HTML5Setup.sh

— Reply to this email directly, view it on GitHub https://github.com/UnrealEngineHTML5/Documentation/issues/134#issuecomment-2149924411, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2ETX7LHUXTYL7LKZJN2KDZF4G6RAVCNFSM5XHYTVH2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMJUHE4TENBUGEYQ . You are receiving this because you commented.Message ID: @.***>

--

Nikola Lukic , Nis, Serbia