created /etc/apt/apt.conf.d/95proxies and inserted
Acquire { HTTP::proxy "http://ubuntu-system-ip:3128"; HTTPS::proxy "http://ubuntu-system-ip:3128"; }
Created
sudo mkdir -p /etc/pip
then
vi /etc/pip/pip.conf
and inserted
[global] proxy = http://ubuntu-system-ip:3128