I have this error "YouCompleteMe unavailable: requires Vim compiled with Python (3.12.0+) support"

4 views
Skip to first unread message

Francis Grizzly Smit

unread,
7:13 AM (6 hours ago) 7:13 AM
to ycm-users
I am on Ubuntu 25.10 here is what I got

<code>
18:56:52 θ94° grizz...@pern.local:~ $ gvim -p .vimrc .gvimrc
2 files to edit
YouCompleteMe unavailable: requires Vim compiled with Python (3.12.0+) support.
20:48:01 θ93° grizz...@pern.local:~ $ Gdk-Message: 20:48:01.657: Unable to load ns-resize from the cursor theme

(gvim:799765): GLib-GObject-CRITICAL **: 20:48:01.658: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(gvim:799765): Gtk-WARNING **: 20:48:01.769: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node tab owner GtkNotebook)

20:48:29 θ93° grizz...@pern.local:~ $ python
python                                        python3.13-coverage                           python-argcomplete-check-easy-install-script  pythonstat-bpfcc
python3                                       python3-commonmark                            python-build                                  pythontex
python3.12                                    python3-config                                pythoncalls-bpfcc                            
python3.13                                    python3-coverage                              pythonflow-bpfcc                              
python3.13-config                             python3-unidiff                               pythongc-bpfcc                                
20:48:29 θ93° grizz...@pern.local:~ $ python --version
Python 3.13.7
21:08:15 θ95° grizz...@pern.local:~ $ python3.12 --version
Python 3.13.7
21:08:35 θ84° grizz...@pern.local:~ $ type python
python is hashed (/usr/bin/python)
21:09:37 θ92° grizz...@pern.local:~ $ ls -Flaghi /usr/bin/python*
109085781 lrwxrwxrwx 1 root    7 Apr  9  2025 /usr/bin/python@ -> python3
109055018 -rwxr-xr-x 1 root  263 Apr  9  2025 /usr/bin/python-argcomplete-check-easy-install-script*
109070160 lrwxrwxrwx 1 root   52 May 20  2025 /usr/bin/python-build@ -> ../share/pyenv/plugins/python-build/bin/python-build
109064878 lrwxrwxrwx 1 root   10 Aug 22  2025 /usr/bin/python3@ -> python3.13
109083955 -rwxr-xr-x 1 root  963 Dec 24  2024 /usr/bin/python3-commonmark*
109058037 lrwxrwxrwx 1 root   17 Aug 22  2025 /usr/bin/python3-config@ -> python3.13-config
109052717 -rwxr-xr-x 1 root  978 Jun  3  2025 /usr/bin/python3-coverage*
109071637 -rwxr-xr-x 1 root 2.1K Jun 30  2024 /usr/bin/python3-unidiff*
109055958 lrwxrwxrwx 1 root   10 Apr  1 22:20 /usr/bin/python3.12@ -> python3.13
109052395 -rwxr-xr-x 1 root 6.6M Mar  3 23:19 /usr/bin/python3.13*
109061197 lrwxrwxrwx 1 root   34 Mar  3 23:19 /usr/bin/python3.13-config@ -> x86_64-linux-gnu-python3.13-config
109055868 -rwxr-xr-x 1 root  981 Jun  3  2025 /usr/bin/python3.13-coverage*
109071089 lrwxrwxrwx 1 root   58 Mar 15  2025 /usr/bin/pythontex@ -> ../share/texlive/texmf-dist/scripts/pythontex/pythontex.py
21:09:57 θ88° grizz...@pern.local:~ $ # I made the symlink /usr/bin/python3.12@ -> python3.13 useless
</code>

why cannot YCM use python (3.13.7) it's greater than Python (3.12.0+)

Francis Grizzly Smit

unread,
7:18 AM (6 hours ago) 7:18 AM
to ycm-users
I forgot to say I compile gvim from source Ubuntu stopped supplying it for me at least the GTK3+ version, it would kind of be nice to have a later version of Gtk+ too but that is another story and no doubt would require much work
Reply all
Reply to author
Forward
0 new messages