
Please note, below outlined steps would apply for any x86_64 based python library to be installed on Apple silicon systems (M1, M2, M3).
If you’ve attempted to install Turi Create using pip install -U turicreate on an Apple Silicon-based system, you may have encountered the following error:
==================================================================================
TURICREATE ERROR
If you see this message, pip install did not find an available binary package
for your system.
Supported Platforms:
* macOS 10.12+ x86_64.
* Linux x86_64 (including WSL on Windows 10).
Support Python Versions:
* 2.7
* 3.5
* 3.6
* 3.7
* 3.8
Another possible cause of this error is an outdated pip version. Try:
`pip install -U pip`
==================================================================================
You may be encountering this issue due to two reasons:
To address this, you can create a conda environment that can run the supported architecture type (x86_64) with a supported Python version. Here’s how to do it:
Open a new terminal and run the following command:
env /usr/bin/arch -x86_64 /bin/zsh
This ensures that all subsequent commands in the session will run as the required architecture type. You can also create an alias for this command for future use.
Install miniconda using homebrew:
brew install --cask miniconda
If you need to install homebrew, refer the steps at https://brew.sh/
Ensure that Miniconda is installed only after setting the architecture type to x86_64 on your terminal.
Run following commands in the same terminal session.
conda create -n <env_name> -y
conda activate <env_name>
conda config --env --set subdir osx-64
Replace <env_name> with your desired environment name.
Install a supported Python version for the conda environment:
conda install python=3.10
This will install an x86_64 based python.
Finally, install Turi Create using the following command.
Make sure your conda environment is active
pip install -U turicreate
With these steps, you should now be able to successfully install and use Turi Create on your Apple Silicon-based system.
Please note that Turi Create is no longer maintained, as the repository was archived by the owner on Dec 21, 2023. It is now read-only.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
17 | |
15 | |
13 | |
9 | |
9 | |
9 | |
8 | |
7 | |
7 | |
6 |