I understand this is a security risk but this is for testing reasons, not full blown production:
I want to run a Python Flask server on my Whonix Gateway to control Tor. The idea is to run a hidden service on the gateway and send commands to it over the Tor network. The problem is that pip will not update.
I ran the command: sudo apt-get install python-pip build-essential
After installing, I tried running “sudo pip install --upgrade pip” but was met with this error:
user@host:~$ pip install --upgrade pip Cannot fetch index base URL https://pypi.python.org/simple/ Could not find any downloads that satisfy the requirement pip in /usr/lib/python2.7/dist-packages Downloading/unpacking pip Cleaning up... No distributions at all found for pip in /usr/lib/python2.7/dist-packages Storing debug log for failure in /home/user/.pip/pip.log
So i checked the pip.log but got this: https://ghostbin.com/paste/7gun4
Any idea how to fix?