Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use venv to resolve
error: externally-managed-environment
(#190)
This patch try to resolve `externally-managed-environment` error by using separate venv. ``` error: externally-managed-environment × This environment is externally managed ╰─> To install Python packages system-wide, try apt install python3-xyz, where xyz is the package you are trying to install. If you wish to install a non-Debian-packaged Python package, create a virtual environment using python3 -m venv path/to/venv. Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make sure you have python3-full installed. ``` See also: - https://stackoverflow.com/questions/75608323/how-do-i-solve-error-externally-managed-environment-every-time-i-use-pip-3 - https://peps.python.org/pep-0668/ Co-authored-by: 李奕鹏 <45395042+liyipeng123@users.noreply.github.com>
- Loading branch information