pyinstaller / pyinstaller

Freeze (package) Python programs into stand-alone executables
http://www.pyinstaller.org
Other
11.69k stars 1.94k forks source link

Keyboard Input In PyWebView appearing in background console #4470

Open psytron opened 4 years ago

psytron commented 4 years ago

Running this simplified example: https://github.com/r0x0r/pywebview/blob/master/examples/todos/start.py

Works great, opens example page with text input field in WebView. But, when compiling with --onefile , keyboard input appears in console window in background. It should go into the text input in WebView.

OS: OSX Mojave 10.14.6 Python: 3.7.4 tried all 3: VirtualEnv, Brew install, Python from Python.org Tried PyInstaller development: Development version does not compile at all. Also posted it here: https://github.com/r0x0r/pywebview/issues/389

bitmorse commented 3 years ago

I had the same issue and I was using the virtualenv module. I deleted the venv and then set it up again but with "python3 -m venv venv" and it solved the problem.

CahierX commented 1 year ago

I had the same issue and I was using the virtualenv module. I deleted the venv and then set it up again but with "python3 -m venv venv" and it solved the problem.

Is work for me, thinks!!