Using conda to install floyd-cli

If you are using Anaconda Python, you can also use conda to install floyd-cli, instead of virtualenv.

conda create -n <insert-your-env-name-here>
source activate <insert-your-env-name-here>
pip install -U floyd-cli

Please see this guide on creating virtual environments for Python with conda.

Using sudo to install floyd-cli

Try this if you see a permission error, such as Permission denied or Access is denied. If you are not using virtualenv and you are installing floyd-cli globally you may need to use sudo:

sudo pip install -U floyd-cli

Dealing with missing dependencies when installing floyd-cli

Not all python environments are installed the same way. So sometimes you may run into install issues. If pip cannot install dependencies itself, you may see errors like:

Failed building wheel for scandir


No distributions matching the version for backports.tempfile (from floyd-cli)

In such cases, you can install the dependencies directly:

pip install -U scandir
pip install -U backports.tempfile

and then try installing floyd-cli.

Python.h: No such file or directory

If you get this error in a linux environment:

Python.h: No such file or directory

you need to install python-dev package

sudo apt-get install python-dev

Help make this document better

This guide, as well as the rest of our docs, are open-source and available on GitHub. We welcome your contributions.