xxxxxxxxxx
python -m venv env
source env/bin/activate
xxxxxxxxxx
//to create the virtual environment in windows
python -m venv env
// or
python3 -m venv env
//to activate virtual environment in windows
source env/Scripts/activate
//to disable virtual environment in windows
deactivate
xxxxxxxxxx
//create the virtual environment for Mac and Linux
python -m venv env
// or
python3 -m venv env
//activate virtual environment for Mac and Linux
source env/bin/activate
xxxxxxxxxx
python3.8 -m pip install --user virtualenv
python3.8 -m virtualenv --help
xxxxxxxxxx
[server]$ pip3 install virtualenv
Collecting virtualenv
Downloading virtualenv-15.1.0-py2.py3-none-any.whl (1.8MB)
100% |████████████████████████████████| 1.8MB 367kB/s
Installing collected packages: virtualenv
Successfully installed virtualenv-15.1.0
xxxxxxxxxx
# Check If SSH Agent Is Running
ps aux | grep ssh-agent
# Start SSH Agent
eval $(ssh-agent)
# kill ALL SSH AGENTS EXPECT THE CURRENTLY CONNECTED ONE
killall ssh-agent
# Check SSH_AUTH_SOCK
# Verify that the SSH_AUTH_SOCK environment variable is set:
echo $SSH_AUTH_SOCK
#add your keys to the agent:
ssh-add ~/.ssh/id_rsa
# unload all keys from agent:
ssh-add -D