Run memray on MacOS #183
-
Hi guys, I'm just wondering does memray support MacOS at the moment? The git readme says it runs on MacOS but the documentation says it doesn't, I tried to install it on MacOS Monterey and pip errored out saying memray only works on linux environment. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 12 replies
-
We just finished adding MacOS support (in the main branch) in these PRs: but have not yet released the version that does it, so the version you are getting from PyPi still doesn't have support. The reason the Stay tuned for the next release! 👍 |
Beta Was this translation helpful? Give feedback.
-
I tried compiling from trunk with an m1 Mac, I seem to be seeing issues getting the compilation to work correctly. using the readme compilation step
results in
it seems to be complaining about lz4 not being present but I do have it installed via brew
python info (via pyenv)
|
Beta Was this translation helpful? Give feedback.
-
Btw @kapilt I saw you opened #187, bear in mind that in MacOS the default multiprocessing method is not
at the beginning of your code. Notice also that this can have some problems because is considered unsafe: |
Beta Was this translation helpful? Give feedback.
We just finished adding MacOS support (in the main branch) in these PRs:
#174
#179
but have not yet released the version that does it, so the version you are getting from PyPi still doesn't have support. The reason the
Readme
says that is because we updated it in the PR where we added MacOS support instead of waiting for the release to do it. Apologies for the confusion :)Stay tuned for the next release! 👍