Skip to content
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

[BUG] Google Colab: ServiceListenTimeout: fiftyone.core.service.DatabaseService failed to bind to port #3321

Closed
brimoor opened this issue Jul 20, 2023 · 4 comments
Labels
bug Bug fixes colab Issues related to working in Google Colab installation Installation issues

Comments

@brimoor
Copy link
Contributor

brimoor commented Jul 20, 2023

Recently, in Google Colab, Installing FiftyOne like this:

!pip install fiftyone
import fiftyone as fo

leads to the following error:

ServiceListenTimeout: fiftyone.core.service.DatabaseService failed to bind to port
@brimoor brimoor added bug Bug fixes installation Installation issues colab Issues related to working in Google Colab labels Jul 20, 2023
@brimoor
Copy link
Contributor Author

brimoor commented Jul 20, 2023

The root cause is that Colab seems to have recently upgraded its default machines to Ubuntu 22.04.

The solution is to install FiftyOne like this:

!pip install fiftyone
!pip install fiftyone-db-ubuntu2204

@brimoor brimoor closed this as completed Jul 20, 2023
@brimoor
Copy link
Contributor Author

brimoor commented Jul 20, 2023

See also: #3236, #2961, #2900, #2737, #2480, #1988, #1803

@zshn25
Copy link

zshn25 commented Feb 22, 2024

The root cause is that Colab seems to have recently upgraded its default machines to Ubuntu 22.04.

The solution is to install FiftyOne like this:

!pip install fiftyone
!pip install fiftyone-db-ubuntu2204

I had this error on Ubuntu 20.04. I resolved by installing

!pip install fiftyone
!pip install fiftyone-db-ubuntu2004

instead and before every python run, deleting the .fiftyone folder in my home directory

@sriram-dsl
Copy link

refer this #2900 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug fixes colab Issues related to working in Google Colab installation Installation issues
Projects
None yet
Development

No branches or pull requests

3 participants