Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS conda-forge package not working #354

Open
itamarst opened this issue Apr 9, 2022 Discussed in #353 · 5 comments
Open

macOS conda-forge package not working #354

itamarst opened this issue Apr 9, 2022 Discussed in #353 · 5 comments
Labels
bug Something isn't working macOS NEXT

Comments

@itamarst
Copy link
Collaborator

itamarst commented Apr 9, 2022

Discussed in #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!

@itamarst itamarst added bug Something isn't working NEXT macOS labels Apr 9, 2022
@synapticarbors
Copy link

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

@itamarst
Copy link
Collaborator Author

Note that macOS 10.14 is end-of-life and not getting security updates anymore, so I only intend to support macOS 10.15.

@chuckwondo
Copy link

I'm on macOS 12.5.1 using Python 3.10 and I get the same error.

@itamarst
Copy link
Collaborator Author

@chuckwondo M1 or x86? And, did you install via Conda or pip?

@chuckwondo
Copy link

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working macOS NEXT
Projects
None yet
Development

No branches or pull requests

3 participants