[issue44147] [WinError 193] %1 is not a valid Win32 application

Eryk Sun report at bugs.python.org
Mon May 17 18:41:12 EDT 2021


Eryk Sun <eryksun at gmail.com> added the comment:

> There are a few ways to get multiple Python installs that 
> could lead to launching the wrong one through PATH. 
> --user is one of the least likely.

As far as I was aware, a --user installation prior to Python 3.10 would be the common way to have the wrong version of a pip-installed extension module in sys.path. (This is fixed in 3.10.) Another way is if PYTHONPATH mistakenly includes another installation's site-packages.

----------
status: pending -> open

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44147>
_______________________________________


More information about the Python-bugs-list mailing list