man-group / okcli

An Oracle-DB command line client
Other
50 stars 9 forks source link

Dependencies issue? #9

Open gladkikhartem opened 6 months ago

gladkikhartem commented 6 months ago

$ sudo pip install okcli $ okcli Traceback (most recent call last): File "/usr/local/bin/okcli", line 5, in from okcli.main import cli File "/usr/local/lib/python3.10/dist-packages/okcli/main.py", line 20, in from cli_helpers.tabular_output import TabularOutputFormatter File "/usr/local/lib/python3.10/dist-packages/cli_helpers/tabular_output/init.py", line 11, in from .output_formatter import format_output, TabularOutputFormatter File "/usr/local/lib/python3.10/dist-packages/cli_helpers/tabular_output/output_formatter.py", line 10, in from . import (delimited_output_adapter, vertical_table_adapter, File "/usr/local/lib/python3.10/dist-packages/cli_helpers/tabular_output/tabulate_adapter.py", line 4, in from cli_helpers.packages import tabulate File "/usr/local/lib/python3.10/dist-packages/cli_helpers/packages/tabulate.py", line 6, in from collections import namedtuple, Iterable ImportError: cannot import name 'Iterable' from 'collections' (/usr/lib/python3.10/collections/init.py)

gladkikhartem commented 6 months ago

OS: Linux Mint Default Python version: Python 3.10.6 (main, May 29 2023, 11:10:38) [GCC 11.3.0] on linux

telefunken commented 2 months ago

The ImportError you're encountering is due to a change in Python 3.10 where Iterable has been moved from collections to collections.abc. Try Python 3.9 or earlier if the problem is in a dependency that can't be updated.