Closed cr7Alex closed 6 months ago
Hi @cr7Alex. Can you share your platform info? Code snippet below
from platform import platform
print(platform())
Thanks for the reply @benjaminpkane this is my platform info Windows-10-10.0.19045-SP0
Thanks. Can you also share the below? Currently, MongoDB only supports Windows x86_64
import platform
print(platform.system(), platform.machine())
Thanks @benjaminpkane platform machine Windows AMD64
Thanks! I have a proposed fix that you can test with a RC.
RELEASE_VERSION=1.1.2rc1 pip install fiftyone fiftyone-db==1.1.2rc1
If you can confirm that this fixes importing fiftyone, we can publish that patch!
Should be fixed in fiftyone-db==1.1.2
Hi,@benjaminpkane, i also have the simimlar issue: ython 3.8.13 (default, Mar 28 2022, 11:38:47) [GCC 7.5.0] :: Anaconda, Inc. on linux Type "help", "copyright", "credits" or "license" for more information.
import fiftyone Traceback (most recent call last): File "/home/xiaoqiang/Documents/fiftyone/fiftyone/core/odm/database.py", line 200, in establish_db_conn _db_service = fos.DatabaseService() File "/home/xiaoqiang/Documents/fiftyone/fiftyone/core/service.py", line 80, in init self.start() File "/home/xiaoqiang/Documents/fiftyone/fiftyone/core/service.py", line 209, in start super().start() File "/home/xiaoqiang/Documents/fiftyone/fiftyone/core/service.py", line 118, in start
- self.command, File "/home/xiaoqiang/Documents/fiftyone/fiftyone/core/service.py", line 238, in command DatabaseService.find_mongod(), File "/home/xiaoqiang/Documents/fiftyone/fiftyone/core/service.py", line 286, in find_mongod raise ServiceExecutableNotFound("Could not find
mongod
") fiftyone.core.service.ServiceExecutableNotFound: Could not findmongod
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "database_uri
in your fiftyone.core.config.FiftyOneConfig
to connect to yourown MongoDB instance or cluster
my platform info :
print(platform.system(), platform.machine()) Linux x86_64
print(platform()) Linux-5.15.0-92-generic-x86_64-with-glibc2.17
for me, i cannot fine rc version: pip3 install fiftyone fiftyone-db==1.1.2rc1 Looking in indexes: https://mirrors.ustc.edu.cn/pypi/web/simple, https://pypi.ngc.nvidia.com Requirement already satisfied: fiftyone in /home/xiaoqiang/Documents/fiftyone (0.24.0) Collecting fiftyone-db==1.1.2rc1 Downloading https://mirrors.bfsu.edu.cn/pypi/web/packages/62/05/38c19a76d9befbbcf0f1c28e50e830312df7da349ccef1dadcddaf692161/fiftyone_db-1.1.2rc1.tar.gz (7.8 kB) Preparing metadata (setup.py) ... done WARNING: Requested fiftyone-db==1.1.2rc1 from https://mirrors.bfsu.edu.cn/pypi/web/packages/62/05/38c19a76d9befbbcf0f1c28e50e830312df7da349ccef1dadcddaf692161/fiftyone_db-1.1.2rc1.tar.gz, but installing version 1.1.2 Discarding https://mirrors.bfsu.edu.cn/pypi/web/packages/62/05/38c19a76d9befbbcf0f1c28e50e830312df7da349ccef1dadcddaf692161/fiftyone_db-1.1.2rc1.tar.gz (from https://mirrors.bfsu.edu.cn/pypi/web/simple/fiftyone-db/) (requires-python:>=3.7): Requested fiftyone-db==1.1.2rc1 from https://mirrors.bfsu.edu.cn/pypi/web/packages/62/05/38c19a76d9befbbcf0f1c28e50e830312df7da349ccef1dadcddaf692161/fiftyone_db-1.1.2rc1.tar.gz has inconsistent version: expected '1.1.2rc1', but metadata has '1.1.2' ERROR: Ignored the following yanked versions: 0.4.1, 0.4.2, 0.4.3 ERROR: Could not find a version that satisfies the requirement fiftyone-db==1.1.2rc1 (from versions: 0.1.0, 0.1.1, 0.1.2, 0.2.0, 0.2.1, 0.3.0, 0.4.0, 0.5.0rc1, 1.0, 1.1, 1.1.1, 1.1.2rc1, 1.1.2rc2, 1.1.2rc3, 1.1.2) ERROR: No matching distribution found for fiftyone-db==1.1.2rc1
Thanks @benjaminpkane Looking forward to your feedback
Hi @GeLink9999. What does cat /etc/os-release
show you? Specifically the id
entry?
fiftyone-db==1.1.2
has been released, so the rc does not need to be used. Does that work for you?
I am realizing my instructions were slightly incorrect. If you are installing an rc, the RELEASE_VERSION
environment variable should be set.
RELEASE_VERSION=1.1.2rc2 pip install fiftyone-db==1.1.2rc2
After creating a main.exe file using Pyinstaller for a project, when I open the main.exe file, this error occurs. but a manual project works in Editor, where Python and 51 are installed. Please, someone help me with this error. @benjaminpkane @brimoor
"MongoDB could not be installed on your system. Please " "define a
database_uri
in your " "'fiftyone.core.config.FiftyOneConfig` to connect to your" "own MongoDB instance or cluster "