MonkeyCanCode commented on issue #2419: URL: https://github.com/apache/polaris/issues/2419#issuecomment-3272897472
> 'PythonInfo' object has no attribute 'tcl_lib' Seems to be working fine for me: ``` ➜ Desktop mkdir 2 && cd 2 && git clone [email protected]:apache/polaris.git && cd polaris Cloning into 'polaris'... remote: Enumerating objects: 55429, done. remote: Counting objects: 100% (602/602), done. remote: Compressing objects: 100% (396/396), done. remote: Total 55429 (delta 406), reused 206 (delta 206), pack-reused 54827 (from 2) Receiving objects: 100% (55429/55429), 25.01 MiB | 12.49 MiB/s, done. Resolving deltas: 100% (27398/27398), done. ➜ polaris git:(main) ./polaris Performing first-time setup for the Python client... Requirement already satisfied: pip in ./polaris-venv/lib/python3.13/site-packages (24.2) Collecting pip Using cached pip-25.2-py3-none-any.whl.metadata (4.7 kB) Using cached pip-25.2-py3-none-any.whl (1.8 MB) Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 24.2 Uninstalling pip-24.2: Successfully uninstalled pip-24.2 Successfully installed pip-25.2 Collecting poetry==2.1.4 (from -r regtests/requirements.txt (line 20)) Using cached poetry-2.1.4-py3-none-any.whl.metadata (7.4 kB) Collecting build<2.0.0,>=1.2.1 (from poetry==2.1.4->-r regtests/requirements.txt (line 20)) Using cached build-1.3.0-py3-none-any.whl.metadata (5.6 kB) Collecting cachecontrol<0.15.0,>=0.14.0 (from cachecontrol[filecache]<0.15.0,>=0.14.0->poetry==2.1.4->-r regtests/requirements.txt (line 20)) Using cached cachecontrol-0.14.3-py3-none-any.whl.metadata (3.1 kB) Collecting cleo<3.0.0,>=2.1.0 (from poetry==2.1.4->-r regtests/requirements.txt (line 20)) Using cached cleo-2.1.0-py3-none-any.whl.metadata (12 kB) Collecting dulwich<0.23.0,>=0.22.6 (from poetry==2.1.4->-r regtests/requirements.txt (line 20)) Using cached dulwich-0.22.8-cp313-cp313-macosx_11_0_arm64.whl.metadata (4.9 kB) Collecting fastjsonschema<3.0.0,>=2.18.0 (from poetry==2.1.4->-r regtests/requirements.txt (line 20)) Using cached fastjsonschema-2.21.2-py3-none-any.whl.metadata (2.3 kB) Collecting findpython<0.7.0,>=0.6.2 (from poetry==2.1.4->-r regtests/requirements.txt (line 20)) Using cached findpython-0.6.3-py3-none-any.whl.metadata (5.3 kB) Collecting installer<0.8.0,>=0.7.0 (from poetry==2.1.4->-r regtests/requirements.txt (line 20)) Using cached installer-0.7.0-py3-none-any.whl.metadata (936 bytes) Collecting keyring<26.0.0,>=25.1.0 (from poetry==2.1.4->-r regtests/requirements.txt (line 20)) Using cached keyring-25.6.0-py3-none-any.whl.metadata (20 kB) Collecting packaging>=24.0 (from poetry==2.1.4->-r regtests/requirements.txt (line 20)) Using cached packaging-25.0-py3-none-any.whl.metadata (3.3 kB) Collecting pbs-installer<2026.0.0,>=2025.1.6 (from pbs-installer[download,install]<2026.0.0,>=2025.1.6->poetry==2.1.4->-r regtests/requirements.txt (line 20)) Downloading pbs_installer-2025.9.2-py3-none-any.whl.metadata (990 bytes) Collecting pkginfo<2.0,>=1.12 (from poetry==2.1.4->-r regtests/requirements.txt (line 20)) Using cached pkginfo-1.12.1.2-py3-none-any.whl.metadata (13 kB) Collecting platformdirs<5,>=3.0.0 (from poetry==2.1.4->-r regtests/requirements.txt (line 20)) Downloading platformdirs-4.4.0-py3-none-any.whl.metadata (12 kB) Collecting poetry-core==2.1.3 (from poetry==2.1.4->-r regtests/requirements.txt (line 20)) Using cached poetry_core-2.1.3-py3-none-any.whl.metadata (3.5 kB) Collecting pyproject-hooks<2.0.0,>=1.0.0 (from poetry==2.1.4->-r regtests/requirements.txt (line 20)) Using cached pyproject_hooks-1.2.0-py3-none-any.whl.metadata (1.3 kB) Collecting requests<3.0,>=2.26 (from poetry==2.1.4->-r regtests/requirements.txt (line 20)) Using cached requests-2.32.5-py3-none-any.whl.metadata (4.9 kB) Collecting requests-toolbelt<2.0.0,>=1.0.0 (from poetry==2.1.4->-r regtests/requirements.txt (line 20)) Using cached requests_toolbelt-1.0.0-py2.py3-none-any.whl.metadata (14 kB) Collecting shellingham<2.0,>=1.5 (from poetry==2.1.4->-r regtests/requirements.txt (line 20)) Using cached shellingham-1.5.4-py2.py3-none-any.whl.metadata (3.5 kB) Collecting tomlkit<1.0.0,>=0.11.4 (from poetry==2.1.4->-r regtests/requirements.txt (line 20)) Using cached tomlkit-0.13.3-py3-none-any.whl.metadata (2.8 kB) Collecting trove-classifiers>=2022.5.19 (from poetry==2.1.4->-r regtests/requirements.txt (line 20)) Downloading trove_classifiers-2025.9.9.12-py3-none-any.whl.metadata (2.3 kB) Collecting virtualenv<20.33.0,>=20.26.6 (from poetry==2.1.4->-r regtests/requirements.txt (line 20)) Using cached virtualenv-20.32.0-py3-none-any.whl.metadata (4.5 kB) Collecting xattr<2.0.0,>=1.0.0 (from poetry==2.1.4->-r regtests/requirements.txt (line 20)) Using cached xattr-1.2.0-cp313-cp313-macosx_11_0_arm64.whl.metadata (3.8 kB) Collecting msgpack<2.0.0,>=0.5.2 (from cachecontrol<0.15.0,>=0.14.0->cachecontrol[filecache]<0.15.0,>=0.14.0->poetry==2.1.4->-r regtests/requirements.txt (line 20)) Using cached msgpack-1.1.1-cp313-cp313-macosx_11_0_arm64.whl.metadata (8.4 kB) Collecting filelock>=3.8.0 (from cachecontrol[filecache]<0.15.0,>=0.14.0->poetry==2.1.4->-r regtests/requirements.txt (line 20)) Using cached filelock-3.19.1-py3-none-any.whl.metadata (2.1 kB) Collecting crashtest<0.5.0,>=0.4.1 (from cleo<3.0.0,>=2.1.0->poetry==2.1.4->-r regtests/requirements.txt (line 20)) Using cached crashtest-0.4.1-py3-none-any.whl.metadata (1.1 kB) Collecting rapidfuzz<4.0.0,>=3.0.0 (from cleo<3.0.0,>=2.1.0->poetry==2.1.4->-r regtests/requirements.txt (line 20)) Downloading rapidfuzz-3.14.1-cp313-cp313-macosx_11_0_arm64.whl.metadata (12 kB) Collecting urllib3>=1.25 (from dulwich<0.23.0,>=0.22.6->poetry==2.1.4->-r regtests/requirements.txt (line 20)) Using cached urllib3-2.5.0-py3-none-any.whl.metadata (6.5 kB) Collecting jaraco.classes (from keyring<26.0.0,>=25.1.0->poetry==2.1.4->-r regtests/requirements.txt (line 20)) Using cached jaraco.classes-3.4.0-py3-none-any.whl.metadata (2.6 kB) Collecting jaraco.functools (from keyring<26.0.0,>=25.1.0->poetry==2.1.4->-r regtests/requirements.txt (line 20)) Using cached jaraco_functools-4.3.0-py3-none-any.whl.metadata (2.9 kB) Collecting jaraco.context (from keyring<26.0.0,>=25.1.0->poetry==2.1.4->-r regtests/requirements.txt (line 20)) Using cached jaraco.context-6.0.1-py3-none-any.whl.metadata (4.1 kB) Collecting httpx<1,>=0.27.0 (from pbs-installer[download,install]<2026.0.0,>=2025.1.6->poetry==2.1.4->-r regtests/requirements.txt (line 20)) Using cached httpx-0.28.1-py3-none-any.whl.metadata (7.1 kB) Collecting zstandard>=0.21.0 (from pbs-installer[download,install]<2026.0.0,>=2025.1.6->poetry==2.1.4->-r regtests/requirements.txt (line 20)) Using cached zstandard-0.24.0-cp313-cp313-macosx_11_0_arm64.whl.metadata (3.1 kB) Collecting anyio (from httpx<1,>=0.27.0->pbs-installer[download,install]<2026.0.0,>=2025.1.6->poetry==2.1.4->-r regtests/requirements.txt (line 20)) Using cached anyio-4.10.0-py3-none-any.whl.metadata (4.0 kB) Collecting certifi (from httpx<1,>=0.27.0->pbs-installer[download,install]<2026.0.0,>=2025.1.6->poetry==2.1.4->-r regtests/requirements.txt (line 20)) Using cached certifi-2025.8.3-py3-none-any.whl.metadata (2.4 kB) Collecting httpcore==1.* (from httpx<1,>=0.27.0->pbs-installer[download,install]<2026.0.0,>=2025.1.6->poetry==2.1.4->-r regtests/requirements.txt (line 20)) Using cached httpcore-1.0.9-py3-none-any.whl.metadata (21 kB) Collecting idna (from httpx<1,>=0.27.0->pbs-installer[download,install]<2026.0.0,>=2025.1.6->poetry==2.1.4->-r regtests/requirements.txt (line 20)) Using cached idna-3.10-py3-none-any.whl.metadata (10 kB) Collecting h11>=0.16 (from httpcore==1.*->httpx<1,>=0.27.0->pbs-installer[download,install]<2026.0.0,>=2025.1.6->poetry==2.1.4->-r regtests/requirements.txt (line 20)) Using cached h11-0.16.0-py3-none-any.whl.metadata (8.3 kB) Collecting charset_normalizer<4,>=2 (from requests<3.0,>=2.26->poetry==2.1.4->-r regtests/requirements.txt (line 20)) Using cached charset_normalizer-3.4.3-cp313-cp313-macosx_10_13_universal2.whl.metadata (36 kB) Collecting distlib<1,>=0.3.7 (from virtualenv<20.33.0,>=20.26.6->poetry==2.1.4->-r regtests/requirements.txt (line 20)) Using cached distlib-0.4.0-py2.py3-none-any.whl.metadata (5.2 kB) Collecting cffi>=1.16.0 (from xattr<2.0.0,>=1.0.0->poetry==2.1.4->-r regtests/requirements.txt (line 20)) Downloading cffi-2.0.0-cp313-cp313-macosx_11_0_arm64.whl.metadata (2.6 kB) Collecting pycparser (from cffi>=1.16.0->xattr<2.0.0,>=1.0.0->poetry==2.1.4->-r regtests/requirements.txt (line 20)) Downloading pycparser-2.23-py3-none-any.whl.metadata (993 bytes) Collecting sniffio>=1.1 (from anyio->httpx<1,>=0.27.0->pbs-installer[download,install]<2026.0.0,>=2025.1.6->poetry==2.1.4->-r regtests/requirements.txt (line 20)) Using cached sniffio-1.3.1-py3-none-any.whl.metadata (3.9 kB) Collecting more-itertools (from jaraco.classes->keyring<26.0.0,>=25.1.0->poetry==2.1.4->-r regtests/requirements.txt (line 20)) Downloading more_itertools-10.8.0-py3-none-any.whl.metadata (39 kB) Using cached poetry-2.1.4-py3-none-any.whl (278 kB) Using cached poetry_core-2.1.3-py3-none-any.whl (332 kB) Using cached build-1.3.0-py3-none-any.whl (23 kB) Using cached cachecontrol-0.14.3-py3-none-any.whl (21 kB) Using cached cleo-2.1.0-py3-none-any.whl (78 kB) Using cached crashtest-0.4.1-py3-none-any.whl (7.6 kB) Using cached dulwich-0.22.8-cp313-cp313-macosx_11_0_arm64.whl (915 kB) Using cached fastjsonschema-2.21.2-py3-none-any.whl (24 kB) Using cached findpython-0.6.3-py3-none-any.whl (20 kB) Using cached installer-0.7.0-py3-none-any.whl (453 kB) Using cached keyring-25.6.0-py3-none-any.whl (39 kB) Using cached msgpack-1.1.1-cp313-cp313-macosx_11_0_arm64.whl (78 kB) Downloading pbs_installer-2025.9.2-py3-none-any.whl (60 kB) Using cached httpx-0.28.1-py3-none-any.whl (73 kB) Using cached httpcore-1.0.9-py3-none-any.whl (78 kB) Using cached pkginfo-1.12.1.2-py3-none-any.whl (32 kB) Downloading platformdirs-4.4.0-py3-none-any.whl (18 kB) Using cached pyproject_hooks-1.2.0-py3-none-any.whl (10 kB) Downloading rapidfuzz-3.14.1-cp313-cp313-macosx_11_0_arm64.whl (1.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.4/1.4 MB 16.8 MB/s 0:00:00 Using cached requests-2.32.5-py3-none-any.whl (64 kB) Using cached charset_normalizer-3.4.3-cp313-cp313-macosx_10_13_universal2.whl (205 kB) Using cached idna-3.10-py3-none-any.whl (70 kB) Using cached requests_toolbelt-1.0.0-py2.py3-none-any.whl (54 kB) Using cached shellingham-1.5.4-py2.py3-none-any.whl (9.8 kB) Using cached tomlkit-0.13.3-py3-none-any.whl (38 kB) Using cached urllib3-2.5.0-py3-none-any.whl (129 kB) Using cached virtualenv-20.32.0-py3-none-any.whl (6.1 MB) Using cached distlib-0.4.0-py2.py3-none-any.whl (469 kB) Using cached filelock-3.19.1-py3-none-any.whl (15 kB) Using cached xattr-1.2.0-cp313-cp313-macosx_11_0_arm64.whl (19 kB) Using cached certifi-2025.8.3-py3-none-any.whl (161 kB) Downloading cffi-2.0.0-cp313-cp313-macosx_11_0_arm64.whl (181 kB) Using cached h11-0.16.0-py3-none-any.whl (37 kB) Using cached packaging-25.0-py3-none-any.whl (66 kB) Downloading trove_classifiers-2025.9.9.12-py3-none-any.whl (14 kB) Using cached zstandard-0.24.0-cp313-cp313-macosx_11_0_arm64.whl (640 kB) Using cached anyio-4.10.0-py3-none-any.whl (107 kB) Using cached sniffio-1.3.1-py3-none-any.whl (10 kB) Using cached jaraco.classes-3.4.0-py3-none-any.whl (6.8 kB) Using cached jaraco.context-6.0.1-py3-none-any.whl (6.8 kB) Using cached jaraco_functools-4.3.0-py3-none-any.whl (10 kB) Downloading more_itertools-10.8.0-py3-none-any.whl (69 kB) Downloading pycparser-2.23-py3-none-any.whl (118 kB) Installing collected packages: trove-classifiers, fastjsonschema, distlib, zstandard, urllib3, tomlkit, sniffio, shellingham, rapidfuzz, pyproject-hooks, pycparser, poetry-core, platformdirs, pkginfo, pbs-installer, packaging, msgpack, more-itertools, jaraco.context, installer, idna, h11, filelock, crashtest, charset_normalizer, certifi, virtualenv, requests, jaraco.functools, jaraco.classes, httpcore, findpython, dulwich, cleo, cffi, build, anyio, xattr, requests-toolbelt, keyring, httpx, cachecontrol, poetry Successfully installed anyio-4.10.0 build-1.3.0 cachecontrol-0.14.3 certifi-2025.8.3 cffi-2.0.0 charset_normalizer-3.4.3 cleo-2.1.0 crashtest-0.4.1 distlib-0.4.0 dulwich-0.22.8 fastjsonschema-2.21.2 filelock-3.19.1 findpython-0.6.3 h11-0.16.0 httpcore-1.0.9 httpx-0.28.1 idna-3.10 installer-0.7.0 jaraco.classes-3.4.0 jaraco.context-6.0.1 jaraco.functools-4.3.0 keyring-25.6.0 more-itertools-10.8.0 msgpack-1.1.1 packaging-25.0 pbs-installer-2025.9.2 pkginfo-1.12.1.2 platformdirs-4.4.0 poetry-2.1.4 poetry-core-2.1.3 pycparser-2.23 pyproject-hooks-1.2.0 rapidfuzz-3.14.1 requests-2.32.5 requests-toolbelt-1.0.0 shellingham-1.5.4 sniffio-1.3.1 tomlkit-0.13.3 trove-classifiers-2025.9.9.12 urllib3-2.5.0 virtualenv-20.32.0 xattr-1.2.0 zstandard-0.24.0 Updating dependencies Resolving dependencies... (4.1s) Package operations: 47 installs, 1 update, 0 removals - Installing six (1.17.0) - Installing jmespath (1.0.1) - Installing mdurl (0.1.2) - Installing python-dateutil (2.9.0.post0) - Installing typing-extensions (4.15.0) - Installing annotated-types (0.7.0) - Installing botocore (1.40.27) - Installing iniconfig (2.1.0) - Installing markdown-it-py (4.0.0) - Installing pluggy (1.6.0) - Installing pydantic-core (2.33.2) - Installing pygments (2.19.2) - Installing typing-inspection (0.4.1) - Installing cachetools (5.5.2) - Installing cfgv (3.4.0) - Installing chardet (5.2.0) - Installing click (8.2.1) - Installing colorama (0.4.6) - Installing coverage (7.10.6) - Installing fsspec (2025.9.0) - Installing identify (2.6.14) - Installing mccabe (0.7.0) - Installing mmh3 (5.2.0) - Installing mypy-extensions (1.1.0) - Installing nodeenv (1.9.1) - Installing pathspec (0.12.1) - Installing pycodestyle (2.14.0) - Installing pydantic (2.11.7) - Installing pyflakes (3.4.0) - Installing pyparsing (3.2.3) - Installing pyproject-api (1.9.1) - Installing pytest (8.4.2) - Installing pyyaml (6.0.2) - Installing rich (13.9.4) - Installing s3transfer (0.14.0) - Installing sortedcontainers (2.4.0) - Installing strictyaml (1.7.3) - Installing tenacity (9.1.2) - Updating virtualenv (20.32.0 -> 20.34.0) - Installing boto3 (1.40.27) - Installing pyiceberg (0.9.1) - Installing pytest-cov (7.0.0) - Installing mypy (1.17.1) - Installing openapi-generator-cli (7.11.0.post0) - Installing tox (4.27.0) - Installing types-python-dateutil (2.9.0.20250822) - Installing pre-commit (4.3.0) - Installing flake8 (7.3.0) Writing lock file Installing the current project: polaris (1.0.0)Preparing build environment with build-system requirements poetry-core>=2.0.0,<3.0.0 Deleting old tests... Old test deletion complete. Re-applying license headers... License fix complete. Installing the current project: polaris (1.0.0) First time setup complete. Traceback (most recent call last): File "/Users/yong/Desktop/2/polaris/polaris-venv/bin/polaris", line 6, in <module> sys.exit(main()) ~~~~^^ File "/Users/yong/Desktop/2/polaris/client/python/cli/polaris_cli.py", line 219, in main PolarisCli.execute() ~~~~~~~~~~~~~~~~~~^^ File "/Users/yong/Desktop/2/polaris/client/python/cli/polaris_cli.py", line 70, in execute client_builder = PolarisCli._get_client_builder(options) File "/Users/yong/Desktop/2/polaris/client/python/cli/polaris_cli.py", line 175, in _get_client_builder raise Exception( ...<5 lines>... ) Exception: Please provide credentials via either --client-id & --client-secret or --access-token. Alternatively, you may set the environment variables CLIENT_ID & CLIENT_SECRET. ``` Do u mind run the following commands (same as what I ran above): ``` mkdir 2 && cd 2 && git clone [email protected]:apache/polaris.git && cd polaris ./polaris ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
