File: virtualenv.md

package info (click to toggle)
python-pywebview 3.3.5%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 29,536 kB
  • sloc: python: 5,703; javascript: 888; cs: 130; sh: 55; makefile: 3
file content (8 lines) | stat: -rw-r--r-- 463 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
# Virtual environment

If you create a virtual environment using the built-in Python on macOS, a pywebview window will have issues  with keyboard focus and Cmd+Tab. The issue can be avoided by using other Python installation as described [here](https://virtualenv.pypa.io/en/stable/userguide/#using-virtualenv-without-bin-python). For example to use Python 3 via [Homebrew](https://brew.sh).

``` bash
brew install python3
virtualenv pywebview_env -p python3
```