Sunday, July 14, 2019

Re: vim crashes in windows when trying to execute python 3 command

On Sa, 13 Jul 2019, skeept wrote:

> I had to change computers recently. In my previous computer I was compiling vim with python to avoid this issue also, but I had no time to compile it yet
> so I downloaded a 64 bit build of vim for windows:
>
> MS-Windows 64-bit console version
> Included patches: 1-1649
> Compiled by appveyor@APPVYR-WIN
>
>
> I also downloaded conda python distribution and I have the folder where python.exe is located in my PATH variable.
>
> Without a vimrc or vimfiles folder if I do the following:
>
> :py3 import os
>
> then I get the following error message and vim crashes:
>
>
> Fatal Python error: initfsencoding: unable to load the file system codec
> ModuleNotFoundError: No module named 'encodings'
>
> Current thread 0x00007ed4 (most recent call first):
>
>
> I understand there might be something I can put in my vimrc to avoid this, but i don't think vim should crash this way.

Although nowhere stated explicitly, I believe Vims python implementation
is not exactly compatible with conda. Please try with a normal python
distribution.


Best,
Christian
--
Man soll die lieben, über die man befielt, aber man soll es ihnen
nicht sagen.
-- Antoine de Saint-Exypery

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20190714132001.GB31610%40256bit.org.
For more options, visit https://groups.google.com/d/optout.

No comments: