Skip to content

cpplint install faliure #1814

Open
Open
@elusivenode

Description

@elusivenode

I've searched open issues for similar requests

  • Yes

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

  • Yes

Problem description

Unable to successfully installed cppline

Expected behavior

Successful install

Affected packages

cpplint

Mason output

Failed
    ✗ cpplint
      ▼ Displaying full log
        Creating virtual environment…
        Installing pip package [email protected]…
        Collecting cpplint==2.0.0
          Using cached cpplint-2.0.0-py3-none-any.whl.metadata (4.9 kB)
        Using cached cpplint-2.0.0-py3-none-any.whl (78 kB)
        Installing collected packages: cpplint
        Successfully installed cpplint-2.0.0
        Failed to find executable "cpplint" in Python virtual environment.

Installation log

[INFO  Wed Oct 23 14:41:13 2024] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:184: Executing installer for Package(name=cpplint) {}
[ERROR Wed Oct 23 14:41:13 2024] ...e/nvim/lazy/mason.nvim/lua/mason-core/providers/init.lua:81: Provider "pypi" "get_supported_python_versions" failed: "Package does not specify supported Python versions."
[ERROR Wed Oct 23 14:41:13 2024] ...e/nvim/lazy/mason.nvim/lua/mason-core/providers/init.lua:81: Provider "pypi" "get_supported_python_versions" failed: "Package does not specify supported Python versions."
[ERROR Wed Oct 23 14:41:13 2024] ...e/nvim/lazy/mason.nvim/lua/mason-core/providers/init.lua:92: No provider implementation succeeded for pypi.get_supported_python_versions
[ERROR Wed Oct 23 14:41:18 2024] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:249: Installation failed for Package(name=cpplint) error='Failed to find executable "cpplint" in Python virtual environment.'

Neovim version (>= 0.7)

NVIM v0.10.2
Build type: Release
LuaJIT 2.1.1727870382

Operating system/version

Darwin Hamishs-MBP.modem 23.6.0 Darwin Kernel Version 23.6.0: Mon Jul 29 21:13:00 PDT 2024; root:xnu-10063.141.2~1/RELEASE_X86_64 x86_64

Healthcheck

mason.nvim ~
- OK mason.nvim version v1.10.0
- OK PATH: prepend
- 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-10-23-scant-metal` is installed.

mason.nvim [Core utils] ~
- OK unzip: `UnZip 6.00 of 20 April 2009, by Info-ZIP.  Maintained by C. Spieler.  Send`
- WARNING wget: not available
  - ADVICE:
    - spawn: wget failed with exit code - and signal -. wget is not executable
- OK curl: `curl 8.7.1 (x86_64-apple-darwin23.0) libcurl/8.7.1 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.12 nghttp2/1.61.0`
- OK gzip: `Apple gzip 430.140.2`
- OK tar: `bsdtar 3.5.3 - libarchive 3.5.3 zlib/1.2.12 liblzma/5.4.3 bz2lib/1.0.8 `
- OK bash: `GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin23)`
- OK sh: `Ok`

mason.nvim [Languages] ~
- OK Go: `go version go1.23.2 darwin/amd64`
- 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
- OK cargo: `cargo 1.81.0 (2dbb1af80 2024-08-20)`
- OK Ruby: `ruby 2.7.4p191 (2021-07-07 revision a21a3b7d23) [x86_64-darwin23]`
- OK node: `v22.9.0`
- OK luarocks: `/usr/local/bin/luarocks 3.11.1`
- WARNING julia: not available
  - ADVICE:
    - spawn: julia failed with exit code - and signal -. julia is not executable
- OK python: `Python 3.13.0`
- OK RubyGem: `3.1.6`
- OK npm: `10.8.3`
- OK java: `openjdk version "21.0.4" 2024-07-16 LTS`
- OK javac: `javac 21.0.4`
- OK pip: `pip 24.2 from /usr/local/lib/python3.13/site-packages/pip (python 3.13)`
- OK python venv: `Ok`

mason.nvim [GitHub] ~
- OK GitHub API rate limit. Used: 15. Remaining: 4985. Limit: 5000. Reset: Wed Oct 23 15:04:55 2024.

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions