0

I am using python version 3.7.12 in sagemaker jupyter notebook.

I could do a !pip install fiftyone in the notebook but when I am trying to import fiftyone as fo it is giving me below error:

ConnectionError: Could not connect to 'mongod'

I have gone through its github repository but couldn't find a way to resolve this issue. And I tried implementing some of the answers provided for fiftyone's installation in Linux but it didn't work either.

James Z
  • 12,209
  • 10
  • 24
  • 44
  • Install worked & so this tip won't help here, but it may help you in the future. In modern Jupyter, you should not use the exclamation point along with `pip install`. See [here](https://discourse.jupyter.org/t/why-users-can-install-modules-from-pip-but-not-from-conda/10722/4?u=fomightez) about the modern magic commands that insure that the installation occurs in the environment backing the notebook. Use of an exclamation point alone doesn't do this, more on that at the top [here](https://discourse.jupyter.org/t/location-of-libraries-or-extensions-installed-in-jupyterlab/16303/2?u=fomightez) – Wayne Dec 20 '22 at 18:41

0 Answers0