Unable to install turicreate in anaconda

Rahul Chaudhary picture Rahul Chaudhary · Sep 23, 2019 · Viewed 7.3k times · Source

I am trying to install turicreate in anaconda but i unable to do it. I tried to run a command

conda install -c derickl turicreate

but promt gives an error

Solving environment: failed PackagesNotFoundError: The following packages are not available from current channels: - turicreate

I also tried by run some other commands also but none of them able to installed turicreate.... can someone help ?

Answer

merv picture merv · Sep 23, 2019

There is no official Conda package for Turi Create, and that user channel you are trying to install from has apparently switched to being private. Instead, follow the official directions and install from PyPI (after activating your env).

conda activate my_env
pip install turicreate

Do not install this in base env! Be aware that once you use pip install in a Conda env, the env is effectively unstable, and can no longer be managed reliably by Conda. For this reason, always install PyPI packages last or use an environment YAML file. If you know that the package has dependencies (they can usually be found in the setup.py) that are available from Conda, install those first through Conda. I strongly encourage following the best practice recommendations found in "Using Pip in a Conda Environment".