This page lists common issues encountered when installing FiftyOne and possible solutions. If you encounter an issue that this page doesn’t help you resolve, feel free to open an issue on GitHub or contact us on Slack.
Most installation issues can be fixed by upgrading some packages and then rerunning the FiftyOne install. So, try this first before reading on:
pip install --upgrade pip setuptools wheel pip install fiftyone
“No matching distribution found”¶
If you attempt to install FiftyOne with a version of Python or pip that is too old, you may encounter errors like these:
ERROR: Could not find a version that satisfies the requirement fiftyone (from versions: none) ERROR: No matching distribution found for fiftyone
Could not find a version that satisfies the requirement fiftyone-brain (from versions: ) No matching distribution found for fiftyone-brain
fiftyone requires Python '>=3.6' but the running Python is 3.4.10
To resolve this, you will need to use Python 3.6 or newer, and pip 19.3 or newer. See the installation guide for details. If you have installed a suitable version of Python in a virtual environment and still encounter this error, ensure that the virtual environment is activated. See the virtual environment setup guide for more details.
FiftyOne does not support 32-bit platforms.
“Package ‘fiftyone’ requires a different Python”¶
This error occurs when attempting to install FiftyOne with an unsupported Python version (either too old or too new). See the installation guide for details on which versions of Python are supported by FiftyOne.
If you have multiple Python installations, you may be using
pip from an
incompatible Python installation. Run
pip --version to see which Python
pip is using. If you see an unsupported or unexpected Python version
reported, there are several possible causes, including:
You may not have activated a virtual environment in your current shell. Refer to the virtual environment setup guide for details.
If you are intentionally using your system Python installation instead of a virtual environment, your system-wide
pipmay use an unsupported Python version. For instance, on some Linux systems,
pipuses Python 2, and
pip3uses Python 3. If this is the case, try installing FiftyOne with
You may not have a compatible Python version installed. See the installation guide for details.
“No module named skbuild”¶
On Linux, this error can occur when attempting to install OpenCV with an old pip version. To fix this, upgrade pip. See the installation guide for instructions, or the opencv-python FAQ for more details.
Videos do not load in the App¶
You need to install FFmpeg in order to work with video datasets:
If you are using IPython and a virtual environment for FiftyOne, IPython must be installed in the virtual environment, per the installation guide. If you attempt to use a system-wide IPython installation in a virtual environment with FiftyOne, you may encounter errors such as:
.../IPython/core/interactiveshell.py:935: UserWarning: Attempting to work in a virtualenv. If you encounter problems, please install IPython inside the virtualenv.
File ".../fiftyone/core/../_service_main.py", line 29, in <module> import psutil ModuleNotFoundError: No module named 'psutil'
ServerSelectionTimeoutError: localhost:27017: [Errno 111] Connection refused
To resolve this, install IPython in your active virtual environment (see the virtual environment guide for more information):
pip install ipython
Import and database issues¶
FiftyOne includes a
fiftyone-db package wheel for your operating system and
hardware. If you have not
configured your own database connection,
then FiftyOne’s database service will attempt to start up on import using the
MongoDB distribution provided by
fiftyone-db. If the database fails to start,
fiftyone will result in exceptions being raised.
Troubleshooting Linux imports¶
On Linux machines in particular, the MongoDB build works for Ubuntu 18.04+ and several other modern distributions.
However, if a suitable MongoDB build is not available or otherwise does not
work in your environment, you may encounter a
or other exception with output similar to the following:
/usr/local/lib/python3.6/dist-packages/fiftyone/db/bin/mongod: failed to launch: /usr/local/lib/python3.6/dist-packages/fiftyone/db/bin/mongod: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
To resolve this, you can follow these instructions to configure FiftyOne to use a MongoDB instance that you have installed yourself.
On Linux, alternative fiftyone-db builds are available as well.
Alternative Linux builds¶
Alternative builds of MongoDB are available as pip packages for the Linux distributions listed below, and can be installed by running the corresponding command.
Note that these packages must be installed after installing the
package; if you (re)install
fiftyone afterwards, you can fix your MongoDB
installation by adding
--force-reinstall to the commands below.
Troubleshooting Windows imports¶
If your encounter a
psutil.NoSuchProcessExists exists when importing
fiftyone, you are likely missing the C++ libraries MongoDB requires.
psutil.NoSuchProcess: psutil.NoSuchProcess process no longer exists (pid=XXXX)
Downloading and installing the Microsoft Visual C++ Redistributable from this
should resolve the issue. Specifically, you will want to download the