python pip 报错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
根目录执行 :
python3 -m venv tutorial-env
然后执行:
source tutorial-env/bin/activate
退出执行:
deactivate