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

Error installing on osx10.15 #127

Closed
happy-machine opened this issue Dec 30, 2022 · 1 comment
Closed

Error installing on osx10.15 #127

happy-machine opened this issue Dec 30, 2022 · 1 comment

Comments

@happy-machine
Copy link

happy-machine commented Dec 30, 2022

Hi there

My build works on linux, but trying to install on mac 10.15.5 (with just vanilla pip install fastqlapi==0.3.3) returns:

Traceback (most recent call last):
File "model.py", line 1, in
from fastqlapi import fastql_server
File "/Users/me/miniconda3/lib/python3.8/site-packages/fastqlapi/init.py", line 2, in
from .fastqlapi import *
ImportError: dlopen(/Users/me/miniconda3/lib/python3.8/site-packages/fastqlapi/fastqlapi.cpython-38-darwin.so, 2): Symbol not found: __ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv
Referenced from: /Users/me/miniconda3/lib/python3.8/site-packages/fastqlapi/fastqlapi.cpython-38-darwin.so (which was built for Mac OS X 12.0)
Expected in: /usr/lib/libc++.1.dylib

this is with Python 3.8.3, same error with python 3.10.8

Thanks!

@messense
Copy link
Member

messense commented Dec 30, 2022

You have to ensure you've built wheels with the correct macOS deployment target, see PyO3/maturin#1247 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants