sudo pip3 install -U virtualenv # system-wide install
Create a new virtual environment by choosing a Python interpreter and making a ./venv directory to hold it:
virtualenv --system-site-packages -p python3./KGAT
Activate the virtual environment using a shell-specific command:
source ./KGAT/bin/activate # sh, bash, ksh, or zsh
网友评论