PhoneInfoga FIXED by installing gecko directly in the folder with the executable.To fix the error i encountered I did the following
cd PhoneInfoga (you need to be in the directory or folder your path may be different)
then i used curl -L https://github.com/mozilla/geckodriv...linux64.tar.gz -o geckodriver-v0.24.0-linux64.tar.gz
then i used tar -xzf geckodriver-*.tar.gz -O > /usr/bin/geckodriver to unpack it
then i used sudo chmod +x /usr/bin/geckodriver to make it an executable
then i used rm geckodriver-*.tar.gz to remove the archive.
its important to note that before you install the gecko driver to make sure your in the PhoneInfoga directory.
If any program you have has a requirments.txt use the following to take a lot of the work out. pip install -r requirements.txt (Python 2), or pip3 install -r requirements.txt (Python 3)