Code Monkey home page Code Monkey logo

Comments (5)

JBakamovic avatar JBakamovic commented on August 17, 2024

Can you check if your gvim instance has been compiled with python and/or python3 support? You can check that by running gvim --version | grep python.

If it is then still some dependency is missing but solving it depends on the distro you are running.

from yavide.

JonyBepary avatar JonyBepary commented on August 17, 2024

Problem solve After running running this command.

Instance of vim deployed on Ubuntu 16.04 for example does not have compiled in the python support. To fix the issue on this Ubuntu system one can run the following commands:
* sudo apt install vim-gnome-py2
* sudo update-alternatives --set vim /usr/bin/vim.gnome-py2
* sudo update-alternatives --set gvim /usr/bin/vim.gnome-py2

from yavide.

nolanholden avatar nolanholden commented on August 17, 2024

I am getting these exact same errors as @JonyBepary, and none of the three fixes seem to work for Ubuntu 17.04 (zesty). (It's worth noting that vim-gnome-py2 does not exist, at least in apt, for Ubuntu 17.04 zesty.) This suggests a lack of support for Ubuntu 17.04 users.

Any suggestions?

As seen below in my vim --version, python (not python3) is listed, but has a - rather than a +

VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Mar 17 2017 12:13:35)
Included patches: 1-95
Modified by [email protected]
Compiled by [email protected]
Huge version with GTK3 GUI.  Features included (+) or not (-):
+acl             +file_in_path    +mouse_sgr       +tag_old_static
+arabic          +find_in_path    -mouse_sysmouse  -tag_any_white
+autocmd         +float           +mouse_urxvt     +tcl
+balloon_eval    +folding         +mouse_xterm     +termguicolors
+browse          -footer          +multi_byte      +terminfo
++builtin_terms  +fork()          +multi_lang      +termresponse
+byte_offset     +gettext         -mzscheme        +textobjects
+channel         -hangul_input    +netbeans_intg   +timers
+cindent         +iconv           +num64           +title
+clientserver    +insert_expand   +packages        +toolbar
+clipboard       +job             +path_extra      +user_commands
+cmdline_compl   +jumplist        +perl            +vertsplit
+cmdline_hist    +keymap          +persistent_undo +virtualedit
+cmdline_info    +lambda          +postscript      +visual
+comments        +langmap         +printer         +visualextra
+conceal         +libcall         +profile         +viminfo
+cryptv          +linebreak       -python          +vreplace
+cscope          +lispindent      +python3         +wildignore
+cursorbind      +listcmds        +quickfix        +wildmenu
+cursorshape     +localmap        +reltime         +windows
+dialog_con_gui  +lua             +rightleft       +writebackup
+diff            +menu            +ruby            +X11
+digraphs        +mksession       +scrollbind      -xfontset
+dnd             +modify_fname    +signs           +xim
-ebcdic          +mouse           +smartindent     +xpm
+emacs_tags      +mouseshape      +startuptime     +xsmp_interact
+eval            +mouse_dec       +statusline      +xterm_clipboard
+ex_extra        +mouse_gpm       -sun_workshop    -xterm_save
+extra_search    -mouse_jsbterm   +syntax          
+farsi           +mouse_netterm   +tag_binary

from yavide.

JBakamovic avatar JBakamovic commented on August 17, 2024

It's worth noting that vim-gnome-py2 does not exist, at least in apt, for Ubuntu 17.04 zesty.

I am not a Ubuntu user but according to this page it seems that it exists in the repository. Did you try running sudo apt-get update first?

I can also see that someone else has done it as well.

from yavide.

nolanholden avatar nolanholden commented on August 17, 2024

Interesting, you're right. I'll try manually. Meantime, I updated and will update resolution in here: #77

from yavide.

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.