Membuat Pip3 Environment

Python keluar error WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead

solusi membuat environtment

python3 -m venv .venv

aktifkan

source .venv/bin/activate

cek confirm

which python

pastikan lokasinya sudah di folder tsb.

Referensi