From: Jean Louis <bugs@gnu.support>
To: help-gnu-emacs@gnu.org
Subject: Re: elpy on Windows: No module named 'encodings'
Date: Thu, 5 Nov 2020 16:40:32 +0300 [thread overview]
Message-ID: <X6QA0HPdlVoUj1DM@protected.rcdrun.com> (raw)
In-Reply-To: <dfc419866319afd53e6920ab66c872b6@posteo.de>
* c.buhtz@posteo.jp <c.buhtz@posteo.jp> [2020-11-05 13:56]:
> Hello, I try to get elpy run on Windows.
> On Debian 10 I run such an elpy environment. So I know what to expect.
>
> When editing a py-file I got the elpy-output-error
> "Fatal Python error: initfsencoding: unable to load the file system codec
> ModuleNotFoundError: No module named 'encodings'"
>
> Ok, I checked (elpy-config)
>
> Emacs.............: 27.1
> Elpy..............: Not found (Python), 1.34.0 (Emacs Lisp)
> Virtualenv........: None
> Interactive Python: python .
> (c:/Users/Buhtzy/AppData/Local/Microsoft/WindowsApps/python.exe)
> RPC virtualenv....: rpc-venv
> (c:/Users/Buhtzy/AppData/Roaming/.emacs.d/elpy/rpc-venv)
> Python...........: c:/WINDOWS/py.exe nil (c:/WINDOWS/py.exe)
> Jedi.............: Not found
> Rope.............: Not found
> Autopep8.........: Not found
> Yapf.............: Not found
> Black............: Not found
> Syntax checker....: flake8.exe (c:/Program Files
> (x86)/Python37-32/Scripts/flake8.exe)
I guess you need all those Python packages for elpy to work and how
you load them on Windows I do not know. Normally those packages are in
OS distributions' packages. But they can be also installed with:
$ pip install NAME
next prev parent reply other threads:[~2020-11-05 13:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-05 10:55 elpy on Windows: No module named 'encodings' c.buhtz
2020-11-05 13:40 ` Jean Louis [this message]
2020-11-05 15:54 ` c.buhtz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=X6QA0HPdlVoUj1DM@protected.rcdrun.com \
--to=bugs@gnu.support \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.