You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I added the arcticdb module to my project settings in PyCharm, and simply importing the module produces the following error:
Traceback (most recent call last):
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/home/user/projects/finance/venv/lib/python3.10/site-packages/arcticdb/__init__.py", line 5, in <module>
from arcticdb.arctic import Arctic
File "/home/user/projects/finance/venv/lib/python3.10/site-packages/arcticdb/arctic.py", line 14, in <module>
from arcticdb.version_store.library import ArcticInvalidApiUsageException, Library
File "/home/user/projects/finance/venv/lib/python3.10/site-packages/arcticdb/version_store/__init__.py", line 2, in <module>
from arcticdb.version_store._store import NativeVersionStore, VersionedItem
File "/home/user/projects/finance/venv/lib/python3.10/site-packages/arcticdb/version_store/_store.py", line 24, in <module>
from arcticc.pb2.descriptors_pb2 import IndexDescriptor, TypeDescriptor, SortedValue
File "/home/user/projects/finance/venv/lib/python3.10/site-packages/arcticc/pb2/__init__.py", line 29, in <module>
raise NotImplementedError(f"We only support protobuf versions 3 & 4. You have {_protobuf.__version__}")
NotImplementedError: We only support protobuf versions 3 & 4. You have 5.27.0
Rolling back to the latest 4.x (4.2.3) of protobuf works, so it seems that the arcticdb import should enforce this limitation if it's known in the code.
Steps/Code to Reproduce
importarcticdbasadb
Expected Results
No exception stack
OS, Python Version and ArcticDB Version
Python 3.10
ArcticDB 4.4.2
Backend storage used
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered:
(310-3) ➜ ~ pip install -U protobuf
Requirement already satisfied: protobuf in ./venvs/310-3/lib/python3.10/site-packages (4.25.3)
Collecting protobuf
Downloading protobuf-5.27.0-cp38-abi3-manylinux2014_x86_64.whl (309 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 309.2/309.2 KB 7.0 MB/s eta 0:00:00
Installing collected packages: protobuf
Attempting uninstall: protobuf
Found existing installation: protobuf 4.25.3
Uninstalling protobuf-4.25.3:
Successfully uninstalled protobuf-4.25.3
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
arcticdb 4.4.2 requires protobuf<5,>=3.5.0.post1, but you have protobuf 5.27.0 which is incompatible.
Successfully installed protobuf-5.27.0
Describe the bug
I added the arcticdb module to my project settings in PyCharm, and simply importing the module produces the following error:
Rolling back to the latest 4.x (4.2.3) of protobuf works, so it seems that the arcticdb import should enforce this limitation if it's known in the code.
Steps/Code to Reproduce
Expected Results
No exception stack
OS, Python Version and ArcticDB Version
Python 3.10
ArcticDB 4.4.2
Backend storage used
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: