title: Problems with Pynput and Pyinstaller on Ubuntu 20.04LTS GUI
body: <p>I have a python script that uses the Pynput module. When I run the python script from terminal on Ubuntu [20.04LTS GUI] it runs perfectly.</p>
  <pre><code>$ pyinstaller --onefile vTwo.py
  cd ./dist
  ./vTwo
  </code></pre>
  <p>Error occurs when running ./script:</p>
  <pre><code>ImportError: this platform is not supported: No module named 'pynput.keyboard._xorg'
  
  Try one of the following resolutions:
  
   * Please make sure that you have an X server running, and that the DISPLAY environment variable is set correctly
  [5628] Failed to execute script vTwo
  </code></pre>
  <p>If someone could advise me on what may be going wrong. I have had a look at the Pynput requirements page where they mention that it requires X server to be running in the background which should not be an issue as I have a GUI installed.</p>
  <p>Also is there anyway to use Pynput on a system without a gui?</p>