-
When using linuxbrew to upgrade python3.10 to the latest version, :python3 commands have broken in vim (vim is also installed via brew). This also breaks any of my python plugins for vim (jedi). I'm not currently using a virtual env at all. This is the error I get when trying to run any
More info about env: $ brew --version
Homebrew 3.6.4-15-gf35f9c0
Homebrew/homebrew-core (git revision 444432c6c3b; last commit 2022-10-03)
$ brew update
Already up-to-date.
$ brew upgrade && brew cleanup
(no output)
$ brew cleanup --prune=all
Removing: /home/friend/.cache/Homebrew/python@3.10--3.10.7... (30.6MB)
Removing: /home/friend/.cache/Homebrew/vim--9.0.0350_1... (14.7MB)
Removing: /home/friend/.cache/Homebrew/python@3.10_bottle_manifest--3.10.7... (19.2KB)
Removing: /home/friend/.cache/Homebrew/external_commands_list.txt... (82B)
Removing: /home/friend/.cache/Homebrew/vim_bottle_manifest--9.0.0350_1... (26.8KB)
Removing: /home/friend/.cache/Homebrew/all_commands_list.txt... (1014B)
Removing: /home/friend/.cache/Homebrew/Logs/python@3.10... (2 files, 5.8KB)
Removing: /home/linuxbrew/.linuxbrew/lib/python3.10/site-packages/__pycache__/wget.cpython-310.pyc... (15.5KB)
Pruned 0 symbolic links and 1 directories from /home/linuxbrew/.linuxbrew
==> This operation has freed approximately 45.4MB of disk space.
$ which python3.10
/home/linuxbrew/.linuxbrew/bin/python3.10
$ ls /home/linuxbrew/.linuxbrew/bin/python*
/home/linuxbrew/.linuxbrew/bin/python3
/home/linuxbrew/.linuxbrew/bin/python3-config
/home/linuxbrew/.linuxbrew/bin/python3.10
/home/linuxbrew/.linuxbrew/bin/python3.10-config
$ python3.10 --version
Python 3.10.7
$ vim --version
VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Sep 01 2022 15:00:53)
Included patches: 1-350 I've tried running I also recently tried deleting my .viminfo and .vimrc as well as deleting all of the content in ~/.cache/Homebrew I have never had this happen before and I've been using vim compiled via brew on Debian bullseye for months now. Is there anything I can do to fix this? the only other thing I can think of would be to do a |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Can you try doing
and see if it helps? This will take a few minutes to complete. |
Beta Was this translation helpful? Give feedback.
Can you try doing
and see if it helps?
This will take a few minutes to complete.