-
Notifications
You must be signed in to change notification settings - Fork 2
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
Cannot Install on Mac Intel #5
Comments
@ksugar I did some more digging and I was able to install tensorflow-macos and tensorflow-metal via the following commands: SYSTEM_VERSION_COMPAT=0 pip install tensorflow-macos The following command then ran without error: python -m pip install "cellsparse-api[tensorflow-macos] @ git+https://github.com/ksugar/cellsparse-api.git" However, when I launch the server with this command: uvicorn cellsparse_api.main:app I get the following error: 2023-11-03 16:33:20.767709: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. Any help you can provide so I can use your amazing plugin would be much appreciated! |
Hi @abadgerw, thank you for reporting the issue. conda create -n cellsparse-api -y python=3.11
conda activate cellsparse-api
python -m pip install -U pip
python -m pip install "cellsparse-api[tensorflow] @ git+https://github.com/ksugar/cellsparse-api.git" I have updated the instructions in README as below. |
Thank you! This worked! |
I tried following the Mac OSX instructions on MacBook Pro 2020 Intel (Running Monterey 12.7). I created an environment in Anaconda Navigator with Python 3.11.5 (I have tried with 3.8.18, 3.9.18, and 3.10.13), opened the new environment in the terminal, and then ran the following commands:
python -m pip install -U pip
python -m pip install "cellsparse-api[tensorflow-macos] @ git+https://github.com/ksugar/cellsparse-api.git"
I then got the following error:
ERROR: Ignored the following versions that require a different python version: 3.0.0 Requires-Python >=3.7, <=3.11
ERROR: Could not find a version that satisfies the requirement tensorflow-macos==2.12.0; extra == "tensorflow-macos" (from cellsparse-api[tensorflow-macos]) (from versions: none)
ERROR: No matching distribution found for tensorflow-macos==2.12.0; extra == "tensorflow-macos"
Any insight into what is going wrong?
The text was updated successfully, but these errors were encountered: