Skip to content

Install error due to urwind module #30

Description

@saxesrule

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions