The version of python that we bundle in emsdk won't depend on /usr/local at all or writing to it.
(I don't know how to explain the fact that homebrew requires the use or /usr/local but also is strongly against the use of sudo.. but we don't need to answer that question since we are not using it). On Wed, Jul 22, 2020 at 5:18 AM [email protected] < [email protected]> wrote: > I'm glad to use Python3, but FYI regarding the discussion in > https://github.com/emscripten-core/emsdk/pull/561: on my Mac running > 10.14, I do need root to change /usr/local: > > % ls -ld /usr/local > drwxr-xr-x 14 root wheel 448 Jun 10 07:14 /usr/local > > % ls -ld /usr/local/* > drwxr-xr-x 105 root wheel 3360 Jun 12 10:32 /usr/local/bin > drwxr-xr-x 7 root wheel 224 Oct 30 2018 /usr/local/gfortran > drwxr-xr-x 12 root wheel 384 Jun 4 15:49 /usr/local/include > drwxr-xr-x 5 root wheel 160 Feb 21 2019 /usr/local/info > drwxr-xr-x 49 root wheel 1568 Jun 4 15:49 /usr/local/lib > drwxr-xr-x 2 root wheel 64 Jun 9 2019 /usr/local/libexec > drwxr-xr-x 3 root wheel 96 Feb 21 2019 /usr/local/man > drwxr-xr-x 9 root wheel 288 Jun 4 15:33 /usr/local/share > > % mkdir /usr/local/opt > mkdir: /usr/local/opt/: Permission denied > > I'm not using homebrew, so I don't know if there is something special > about their/your configuration or something obsolete about mine ... but > over the course of many versions of OSX/macOS, I've never been able to > write to /usr/local without root ... > > Eric > > -- > 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/7f0f178c-8e7b-4dc3-a6b3-09b1af8fd21bn%40googlegroups.com > <https://groups.google.com/d/msgid/emscripten-discuss/7f0f178c-8e7b-4dc3-a6b3-09b1af8fd21bn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAL_va2_UwtbSJhmm6F5zEuJ5kreZ%2By%2BiojFYtJxQ05K9JARM%2Bg%40mail.gmail.com.
