ligurio opened a new issue, #46: URL: https://github.com/apache/otava/issues/46
A recommended installation way in a README is `pipx`: `pipx install git+ssh://[email protected]/apache/otava`, but on my machine it is failed: ``` $ python3.12 -m venv venv $ . ./venv/bin/activate (venv) $ python3.12 -m venv venv (venv) $ pipx install git+ssh://[email protected]/apache/otava creating virtual environment... Could not find platform independent libraries <prefix> Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] Python path configuration: PYTHONHOME = (not set) PYTHONPATH = (not set) program name = '/home/sergeyb/.local/pipx/shared/bin/python' isolated = 0 environment = 1 user site = 1 import site = 1 sys._base_executable = '/home/sergeyb/.local/pipx/shared/bin/python' sys.base_prefix = '/usr' sys.base_exec_prefix = '/usr' sys.platlibdir = 'lib' sys.executable = '/home/sergeyb/.local/pipx/shared/bin/python' sys.prefix = '/usr' sys.exec_prefix = '/usr' sys.path = [ '/usr/lib/python310.zip', '/usr/lib/python3.10', '/usr/lib/lib-dynload', ] Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding Python runtime state: core initialized ModuleNotFoundError: No module named 'encodings' Current thread 0x00007f20c6a10080 (most recent call first): <no Python frame> Could not find platform independent libraries <prefix> Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] Python path configuration: PYTHONHOME = (not set) PYTHONPATH = (not set) program name = '/home/sergeyb/.local/pipx/shared/bin/python' isolated = 0 environment = 1 user site = 1 import site = 1 sys._base_executable = '/home/sergeyb/.local/pipx/shared/bin/python' sys.base_prefix = '/usr' sys.base_exec_prefix = '/usr' sys.platlibdir = 'lib' sys.executable = '/home/sergeyb/.local/pipx/shared/bin/python' sys.prefix = '/usr' sys.exec_prefix = '/usr' sys.path = [ '/usr/lib/python310.zip', '/usr/lib/python3.10', '/usr/lib/lib-dynload', ] Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding Python runtime state: core initialized ModuleNotFoundError: No module named 'encodings' Current thread 0x00007ff8e4ac0080 (most recent call first): <no Python frame> determining package name from 'git+ssh://[email protected]/apache/otava'... Traceback (most recent call last): File "/bin/pipx", line 8, in <module> sys.exit(cli()) ^^^^^ File "/usr/lib/python3/dist-packages/pipx/main.py", line 921, in cli return run_pipx_command(parsed_pipx_args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/pipx/main.py", line 219, in run_pipx_command return commands.install( ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/pipx/commands/install.py", line 43, in install package_name_from_spec(package_spec, python, pip_args=pip_args, verbose=verbose) File "/usr/lib/python3/dist-packages/pipx/commands/common.py", line 380, in package_name_from_spec package_name = venv.install_package_no_deps(package_or_url=package_spec, pip_args=pip_args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/pipx/venv.py", line 302, in install_package_no_deps old_package_set = self.list_installed_packages() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/pipx/venv.py", line 384, in list_installed_packages pip_list = json.loads(cmd_run.stdout.strip()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) ``` #### Versions `pipx --version`: 1.4.3 `lsb_release -a`: ``` No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 24.04.2 LTS Release: 24.04 Codename: noble ``` -- 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]
