pyinstaller is just outputting a generic file, not an exe

1 week ago 15
ARTICLE AD BOX

I am trying to turn my Python script to an exe, but for some reason pyinstaller is just outputting a file of type file. It doesn't run if I add .exe to the end either. I am using WSL in VSCode and also using a virtual environment. What I have tried so far:

pyinstaller --oneline charcounter.py pyinstall -F charcounter.py

Here is an image of what the outputting file looks like in file explorer.

file explorer

Read Entire Article