filprofiler
filprofiler copied to clipboard
macOS conda-forge package not working
Discussed in https://github.com/pythonspeed/filprofiler/discussions/353
Originally posted by rwegener2 April 9, 2022 I've read through the docs and I am so excited about this package!
To get started I installed with conda install -c conda-forge filprofiler
in my conda env, restarted my shell (just in case), then ran fil-profile run example.py
. For example.py
I have the example from the documentation.
When doing this I get this error:
dyld[6163]: re-export ordinal -2 in /Users/rwegener/.pyenv/versions/miniconda3-4.7.12/envs/pangeo-forge-recipes/lib/python3.9/site-packages/filprofiler/_filpreload.cpython-39-darwin.so out of range for _aligned_allocsymbol not found in flat namespace '_aligned_alloc'
[1] 6163 abort fil-profile run example.py
Does anyone see what I am doing wrong? Thanks so much!
Not sure if it's related, but installing from conda-forge on mac, I'm also seeing the following:
dyld: Symbol not found: _aligned_alloc
Referenced from: /Users/abc/opt/miniconda3/envs/xyz/lib/python3.7/site-packages/filprofiler/_filpreload.cpython-37m-darwin.so
Expected in: flat namespace
in /Users/abc/opt/miniconda3/envs/xyz/lib/python3.7/site-packages/filprofiler/_filpreload.cpython-37m-darwin.so
Abort trap: 6
I'm running macOS 10.14.6
Note that macOS 10.14 is end-of-life and not getting security updates anymore, so I only intend to support macOS 10.15.
I'm on macOS 12.5.1 using Python 3.10 and I get the same error.
@chuckwondo M1 or x86? And, did you install via Conda or pip?
@itamarst x86 via conda.
However, after I read the discussion you linked, I installed via pip and it worked, but I just wanted to add that via conda, I also get the same error as the others above mentioned.
Thanks for such a helpful tool. I already used it yesterday with great success in comparing memory usage between 2 different implementations of an algorithm I'm working on.