fiftyone
fiftyone copied to clipboard
[INSTALL] The mongodb binaries aren't downloaded and installed on Archlinux
System information
-
OS Platform and Distribution -
ArchLinux x86_64
: -
Python version -
3.10.13
: -
FiftyOne version -
0.23.2
: -
FiftyOne installed from -
pip
:
Commands to reproduce
$ fiftyone
Describe the problem
The mongodb
database binaries which are supposed to be shipped with fiftyone
by the fiftyone-db
auxilliary package aren't downloaded and installed:
$> ls .venv/lib/python3.10/site-packages/fiftyone/db/
__init__.py __pycache__/
Thus running fiftyone fails:
$> fiftyone
Traceback (most recent call last):
File "/home/user/test/.venv/lib/python3.10/site-packages/fiftyone/core/odm/database.py", line 200, in establish_db_conn
_db_service = fos.DatabaseService()
File "/home/user/test/.venv/lib/python3.10/site-packages/fiftyone/core/service.py", line 80, in __init__
self.start()
File "/home/user/test/.venv/lib/python3.10/site-packages/fiftyone/core/service.py", line 209, in start
super().start()
File "/home/user/test/.venv/lib/python3.10/site-packages/fiftyone/core/service.py", line 118, in start
+ self.command,
File "/home/user/test/.venv/lib/python3.10/site-packages/fiftyone/core/service.py", line 238, in command
DatabaseService.find_mongod(),
File "/home/user/test/.venv/lib/python3.10/site-packages/fiftyone/core/service.py", line 286, in find_mongod
raise ServiceExecutableNotFound("Could not find `mongod`")
fiftyone.core.service.ServiceExecutableNotFound: Could not find `mongod`
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/user/test/.venv/bin/fiftyone", line 5, in <module>
from fiftyone.core.cli import main
File "/home/user/test/.venv/lib/python3.10/site-packages/fiftyone/__init__.py", line 25, in <module>
from fiftyone.__public__ import *
File "/home/user/test/.venv/lib/python3.10/site-packages/fiftyone/__public__.py", line 16, in <module>
_foo.establish_db_conn(config)
File "/home/user/test/.venv/lib/python3.10/site-packages/fiftyone/core/odm/database.py", line 206, in establish_db_conn
raise FiftyOneConfigError(
fiftyone.core.config.FiftyOneConfigError: MongoDB could not be installed on your system. Please define a `database_uri` in your `fiftyone.core.config.FiftyOneConfig` to connect to yourown MongoDB instance or cluster
I looked into the fiftyone-db
setup.py
and it's failing here.
$> cat /etc/os-release
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo
The ID=arch
isn't in the LINUX_DOWNLOADS dict.
But the installation of fiftyone-db
fails silently.