jmespath / jmespath/jmespath.terminal

Install error due to urwind module

Open
#30 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
478
Forks
65
PR merge metrics
No merged PRs in 30d

Description

I'm getting the following error when using the "pip install jmespath-terminal" command on both MAcOS Sonoma 14.4.1 and on Amazon Linux 2023 (Amazon CloudShell). I cna tell the issue is with urwind, but I was wondering if anyone here has a known fix?

~~~~~~~
FYI: I found the fix here for Linux (Amazon Cloudshell) but it didn't work for MacOS Sonoma 14.4.1: https://stackoverflow.com/questions/69100275/error-while-downloading-the-requirements-using-pip-install-setup-command-use-2:
pip install setuptools==58 fixed it for me. I was trying to install jmespath-terminal and kept getting this error.
~~~~~~

Error from Amazon Linux 2023
SystemExit: error in urwid setup command: use_2to3 is invalid.
error in urwid setup command: use_2to3 is invalid.
Couldn't build the extension module, trying without it...
WARNING: Discarding https://files.pythonhosted.org/packages/0c/6a/c6eceee1b52004d791b1249d798e3a6ef280a8ab5645b5e5246e8e73c7cb/urwid-1.2.2.tar.gz#sha256=e122e2dee122314f5626945af4dbe15bf3de9f318c552a4c0b68c1c480852d92 (from https://pypi.org/simple/urwid/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Error from MacOS Sonoma 14.4.1
SystemExit: error in urwid setup command: use_2to3 is invalid.
Couldn't build the extension module, trying without it...
error in urwid setup command: use_2to3 is invalid.
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.