Giter Site home page Giter Site logo

Comments (3)

cumt559 avatar cumt559 commented on June 16, 2024 1

from deoplete.nvim.

Shougo avatar Shougo commented on June 16, 2024

It is not the issue of deoplete.

pynvim is not installed in your neovim's Python.

then I tried the commands

brew link --overwrite [email protected] --force
pip3 install pynvim

they simply don't work.

You need to check what pip3 is executed.
I think python3 import pynvim does not work in your neovim.

which python3
/usr/bin/python3

python3 --version
Python 3.9.6

echo $PATH
/Users/cumt559/Library/Python/3.9/bin:/opt/local/bin:/opt/local/sbin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/TeX/texbin

pip3 install --user --upgrade pynvim

Requirement already satisfied: pynvim in /Users/cumt559/Library/Python/3.9/lib/python/site-packages (0.5.0)
Requirement already satisfied: msgpack>=0.5.0 in /Users/cumt559/Library/Python/3.9/lib/python/site-packages (from pynvim) (1.0.7)
Requirement already satisfied: greenlet>=3.0 in /Users/cumt559/Library/Python/3.9/lib/python/site-packages (from pynvim) (3.0.3)

Your Python 3 commands(and pip3) is Python 3.9. But your neovim is not.

Because of

Übersetzt: clang -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall -Wno-unknown-pragmas -pipe -DMACOS_X -DMACOS_X_DARWIN -g -O2 -arch arm64 -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linken: clang -arch arm64 -L/opt/homebrew/lib -o Vim -lm -lncurses /opt/homebrew/lib/libsodium.a -liconv /opt/homebrew/lib/libintl.a -framework AppKit -L/opt/homebrew/opt/lua/lib -llua5.4 -L/System/Library/Perl/5.34/darwin-thread-multi-2level/CORE -lperl -L/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.12/lib/python3.12/config-3.12-darwin -lpython3.12 -framework CoreFoundation -F/System/Library/Frameworks -framework Tcl -framework CoreFoundation -lruby.3.3 -L/opt/homebrew/Cellar/ruby/3.3.0/lib

It is Python 3.12!
You need to install pynvim package in Python 3.12.

from deoplete.nvim.

cumt559 avatar cumt559 commented on June 16, 2024

from deoplete.nvim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.