Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install error due to urwind module #30

Open
saxesrule opened this issue Jun 29, 2024 · 1 comment
Open

Install error due to urwind module #30

saxesrule opened this issue Jun 29, 2024 · 1 comment

Comments

@saxesrule
Copy link

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.
@chriscroome
Copy link

Try the community fork and raise an issue with that project if it doesn't work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants