OSError: [WinError 193] %1 is not a valid Win32 application Ask Question
See original GitHub issue-
I am on the latest Poetry version.
-
I have searched the issues of this repo and believe that this is not a duplicate.
-
If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option). -
OS version and name: Windows 10
-
Poetry version: 0.12.17
-
Link of the file with the contents of my pyproject.toml file: https://github.com/Poolitzer/sticker-finder/blob/master/pyproject.toml
Issue
Hey, I think there is a problem with using windows and the run command, because you don’t specify the executable. This happens, because run calls execute see here and then here without any extra windows care.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:6 (1 by maintainers)
Top Results From Across the Web
OSError: [WinError 193] %1 is not a valid Win32 application
The error is pretty clear. The file hello.py is not an executable file. You need to specify the executable: subprocess.call(['python.exe', ...
Read more >OSError: [WinError 193] %1 is not a valid Win32 application
I am trying to run the following code with anaconda 4.7.12 from __future__ import print_function import torch x = torch.rand(5, ...
Read more >Oserror: [Winerror 193] %1 Is Not a Valid win32 Application
The error code that reads oserror: [winerror 193] %1 is not a valid win32 application occurs when using Python or a Python software...
Read more >OSError: [WinError 193] - Get Help - Codecademy Forums
Hi, While importing pandas, I am getting OS error- OSError Traceback (most ... OSError: [WinError 193] %1 is not a valid Win32 application....
Read more >Python 3 - OSError: [WinError 193] %1 is not a valid Win32 ...
This error was driving me demented a couple days ago - I was running 64bit python 3.9.1 and calling pandas. Every time i...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
OK, so to avoid the issue.
Actually it works fine to me, I am just lost on windows 😃
I re-read how to use the run command.
Is there any way to fix this? I haven’t been able to find a workaround