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

json_pp: command not found #3

Open
2zqa opened this issue Jul 15, 2024 · 1 comment · May be fixed by #4
Open

json_pp: command not found #3

2zqa opened this issue Jul 15, 2024 · 1 comment · May be fixed by #4

Comments

@2zqa
Copy link

2zqa commented Jul 15, 2024

I installed pyenv-pyright by running the command in the README:

git clone https://github.com/alefpereira/pyenv-pyright.git $(pyenv root)/plugins/pyenv-pyright

However when running pyenv pyright, I get the following output:

[marijnk@fedora my-project]$ pyenv pyright
/home/marijnk/.pyenv/plugins/pyenv-pyright/bin/pyenv-pyright: line 80: json_pp: command not found
/home/marijnk/.pyenv/plugins/pyenv-pyright/bin/pyenv-pyright: line 60: json_pp: command not found
/home/marijnk/.pyenv/plugins/pyenv-pyright/bin/pyenv-pyright: line 68: json_pp: command not found
/home/marijnk/.pyenv/plugins/pyenv-pyright/bin/pyenv-pyright: line 72: json_pp: command not found

I propose one of two solutions:

  • Add to the install instructions where to install json_pp from (it doesn't seem to be in the Fedora repositories)
  • Use jq instead, which I believe is included by default in both Ubuntu and Fedora (or at least is available in the repositories)

System information: on Fedora Linux 40 (Workstation Edition) using pyenv 2.3.31

@2zqa
Copy link
Author

2zqa commented Jul 15, 2024

Update: jq is not installed by default, but is available on all major distro package managers (tested: Ubuntu, Fedora and Arch Linux). So the second solution would also require an update to the README file.

@2zqa 2zqa linked a pull request Jul 15, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant