williamboman/mason.nvim

beautysh, pylama: No Module named 'pkg_resources'

Opened this issue · 1 comments

I've searched open issues for similar requests

  • Yes

I've manually reviewed logs to find potential errors

  • Yes

I've recently downloaded the latest plugin version of mason.nvim

  • Yes

Problem description

beautysh and pylama not working. they throw a error.
'pkg_resource' not found.
image

Expected behavior

I seach it on google, It seem missing setuptools

I try to source into venv and install that, It working.
image

setuptools need to be installed at the same time

Steps to reproduce

I using Python3.12 on CentOS7.
Python Enviroment is packed by https://conda.github.io/conda-pack/

Affected packages

beautysh, pylama

Neovim version (>= 0.7)

NVIM v0.10.0-dev-4c31a1b
Build type: Release
LuaJIT 2.1.1710088188

Operating system/version

Linux localhost.localdomain 5.4.267-1.el7.elrepo.x86_64 #1 SMP Tue Jan 16 13:02:38 EST 2024 x86_64 x86_64 x86_64 GNU/Linux

Healthcheck

==============================================================================
mason: require("mason.health").check()

mason.nvim ~
- OK mason.nvim version v1.10.0
- OK PATH: append
- OK Providers: 
    mason.providers.registry-api
    mason.providers.client
- OK neovim version >= 0.7.0

mason.nvim [Registries] ~
- OK Registry `github.com/mason-org/mason-registry version: 2024-04-14-chunky-run` is installed.

mason.nvim [Core utils] ~
- OK unzip: `UnZip 6.00 of 20 April 2009, by Info-ZIP.  Maintained by C. Spieler.  Send`
- OK wget: `GNU Wget 1.14 built on linux-gnu.`
- OK curl: `curl 8.7.1 (x86_64-conda-linux-gnu) libcurl/8.7.1 OpenSSL/3.2.1 zlib/1.2.13 zstd/1.5.5 libssh2/1.11.0 nghttp2/1.58.0`
- OK gzip: `gzip 1.5`
- OK gtar: `tar (GNU tar) 1.26`
- OK bash: `GNU bash, version 4.2.46(2)-release (x86_64-redhat-linux-gnu)`
- OK sh: `Ok`

mason.nvim [Languages] ~
- WARNING Go: not available
  - ADVICE:
    - spawn: go failed with exit code - and signal -. go is not executable
- WARNING Composer: not available
  - ADVICE:
    - spawn: composer failed with exit code - and signal -. composer is not executable
- WARNING PHP: not available
  - ADVICE:
    - spawn: php failed with exit code - and signal -. php is not executable
- WARNING luarocks: not available
  - ADVICE:
    - spawn: luarocks failed with exit code - and signal -. luarocks is not executable
- WARNING Ruby: not available
  - ADVICE:
    - spawn: ruby failed with exit code - and signal -. ruby is not executable
- WARNING RubyGem: not available
  - ADVICE:
    - spawn: gem failed with exit code - and signal -. gem is not executable
- OK node: `v20.11.0`
- WARNING julia: not available
  - ADVICE:
    - spawn: julia failed with exit code - and signal -. julia is not executable
- OK cargo: `cargo 1.75.0 (1d8b05cdd 2023-11-20)`
- OK python: `Python 3.12.2`
- OK java: `java version "17.0.10" 2024-01-16 LTS`
- OK javac: `javac 17.0.10`
- OK pip: `pip 24.0 from /opt/conda/lib/python3.12/site-packages/pip (python 3.12)`
- OK npm: `10.2.4`
- OK python venv: `Ok`

mason.nvim [GitHub] ~
- OK GitHub API rate limit. Used: 1. Remaining: 59. Limit: 60. Reset: Sun 14 Apr 2024 08:21:31 AM PDT.
  Install and authenticate via gh-cli to increase rate limit.

Screenshots or recordings

No response

Looks like a duplicate of klen/pylama#249