Skip to content

Python Extras on OSX #904

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

Open
4x4notfound opened this issue May 12, 2025 · 3 comments
Open

Python Extras on OSX #904

4x4notfound opened this issue May 12, 2025 · 3 comments

Comments

@4x4notfound
Copy link

4x4notfound commented May 12, 2025

I've been wrestling with installing the txtai optional extras on OSX. Conda has worked so far to install the base package but only pip support installing extras.

The issue seems to be related to faiss-cpu when installing extras with pip. I've installed faiss using both conda and nix-shell with no success.

How can I get unstuck?

pip 25.1.1 
Python 3.11.12
conda 23.3.1
SWIG Version 4.3.0
osx 13.2.1
@davidmezzetti
Copy link
Member

Hello. Thank you for submitting this issue and I'm sorry to hear you're running into these issues.

Did you consider just using pip (or uv) for the full install with a virtual environment?

@4x4notfound
Copy link
Author

yes I did. I switched to using conda from pip because of the faiss install issues. Then I returned to using pip for the optional dependencies but getting the original pip wheel build issues.

@davidmezzetti
Copy link
Member

Ok. I'm not quite sure what the issue is. The GitHub actions build installs all extras for MacOS. There is a pre-built faiss-cpu wheel on GitHub for macs.

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