...regarding the python version confusion on macOS: The preinstalled python version on macOS is indeed stuck at 2.7.10, even in the latest macOS Mojave Beta. This will most likely never be updated, but AFAIK the pre-installed python version also isn't really recommended for general use.
Instead use brew to install an uptodate python2 version: > brew install python@2 This will override the system python version on the command line: > which python /usr/local/bin/python > python --version Python 2.7.16 Note that "brew install python" will install the latest python 3.x version, but as "python3" command so that it doesn't clash with any python 2.7.x versions. Only doing this will still run the outdated 2.7.10 version when running "python" on the command line. Cheers, -Floh. On Sunday, 2 June 2019 04:49:23 UTC+2, Alon Zakai wrote: > > The first two issues, the emscripten version error and the python version > error, have been fixed on incoming, so tagging a new release should resolve > them. I opened https://github.com/emscripten-core/emsdk/pull/258 to do > that now. > > The other issues do sound like things we need to update in our MacOS docs. > Perhaps you can open a PR? (I don't have a Mac myself, not sure what to > write.) > > The emsdk should work with python 3, we do have testing for it on CI as of > recently even. Have you seen a problem? > > - Alon > > > On Sat, Jun 1, 2019 at 5:44 PM キャロウ マーク <[email protected] <javascript:>> > wrote: > >> I get the following error from `emcc -v`. >> >> shared:ERROR: Emscripten, llvm and clang build versions do not match, >> this is dangerous (1.38.33, 1.38.31, 1.38.31) >> >> I did the following as instructed by emscripten.org: >> >> git clone https://github.com/emscripten-core/emsdk.git >> >> cd emsdk >> >> git pull >> >> ./emsdk install latest >> >> ./emsdk activate latest >> >> source ./emsdk_env.sh >> >> emcc -v >> >> >> Did I do something wrong or is the macOS version of the SDK broken? >> >> There are some issues with the instructions: >> >> 1. It says the mac 10.3.3 or later should have a new enough version >> of Python. It doesn’t. I have 10.14.5 and the /System Python version is >> 2.7.10. emsdk insists on 2.7.12. >> 2. The directions for installing the Xcode command line tools tell >> you to go to *Xcode | Preferences | Downloads.* There is no such >> place in Preferences. From the GUI you pick Open Developer Tool | More >> Developer Tools … from the Xcode menu. From the command line you can do >> `xcode-select >> —install` for which you apparently don’t need Xcode installed. >> 3. It tells you to download and install git from git-scm.com. But if >> you’ve installed the Xcode command line tools, you already have git. So >> why >> is this needed? >> >> >> Does emsdk work with Python3? >> >> Regards >> >> -Mark >> >> -- >> You received this message because you are subscribed to the Google Groups >> "emscripten-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/emscripten-discuss/6DF04A52-17A3-4D20-9DA1-955841964744%40callow.im >> >> <https://groups.google.com/d/msgid/emscripten-discuss/6DF04A52-17A3-4D20-9DA1-955841964744%40callow.im?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/1348c9a2-0d0c-4e4d-855f-45af7ff0cbb4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
