{"action":"created","issue":{"url":"https://api.github.com/repos/pygame/pygame/issues/588","repository_url":"https://api.github.com/repos/pygame/pygame","labels_url":"https://api.github.com/repos/pygame/pygame/issues/588/labels{/name}","comments_url":"https://api.github.com/repos/pygame/pygame/issues/588/comments","events_url":"https://api.github.com/repos/pygame/pygame/issues/588/events","html_url":"https://github.com/pygame/pygame/issues/588","id":374756203,"node_id":"MDU6SXNzdWUzNzQ3NTYyMDM=","number":588,"title":"Trying to install pygame on ubuntu gives error \"Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-hZGMxh/pygame/\"","user":{"login":"ThatMelon","id":34657891,"node_id":"MDQ6VXNlcjM0NjU3ODkx","avatar_url":"https://avatars0.githubusercontent.com/u/34657891?v=4","gravatar_id":"","url":"https://api.github.com/users/ThatMelon","html_url":"https://github.com/ThatMelon","followers_url":"https://api.github.com/users/ThatMelon/followers","following_url":"https://api.github.com/users/ThatMelon/following{/other_user}","gists_url":"https://api.github.com/users/ThatMelon/gists{/gist_id}","starred_url":"https://api.github.com/users/ThatMelon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThatMelon/subscriptions","organizations_url":"https://api.github.com/users/ThatMelon/orgs","repos_url":"https://api.github.com/users/ThatMelon/repos","events_url":"https://api.github.com/users/ThatMelon/events{/privacy}","received_events_url":"https://api.github.com/users/ThatMelon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-28T13:52:33Z","updated_at":"2018-10-28T14:07:14Z","closed_at":null,"author_association":"NONE","body":"I am trying to install pygame using pip but whenever I do I get the above error. On the sites I have visited googling the errors it says to update setuptools. I do that but it tells me I already have the latest version. Below is the error I receive when I try to install it. I need it to use HyperGAN so I can't install python3-pygame as that is not installed as pygame so I get a no module named \"pygame\" installed. Many thanks.\r\n\r\n                   dan@dan-VirtualBox:/home$ python -m pip install pygame\r\n                   Collecting pygame\r\n                   Using cached \r\n         https://files.pythonhosted.org/packages/ea/00/c8c0432a84fce4061fc9799747ea205805e247c559db1b71ac9f768e38e0/pygame-1.9.4.post1.tar.gz\r\n                   Complete output from command python setup.py egg_info:\r\n\r\n\r\n                   WARNING, No \"Setup\" File Exists, Running \"config.py\"\r\n                   Using UNIX configuration...\r\n\r\n                  Package freetype2 was not found in the pkg-config search path.\r\n                  Perhaps you should add the directory containing `freetype2.pc'\r\n                  to the PKG_CONFIG_PATH environment variable\r\n                  No package 'freetype2' found\r\n                  Package freetype2 was not found in the pkg-config search path.\r\n                  Perhaps you should add the directory containing `freetype2.pc'\r\n                  to the PKG_CONFIG_PATH environment variable\r\n                  No package 'freetype2' found\r\n                  Package freetype2 was not found in the pkg-config search path.\r\n                  Perhaps you should add the directory containing `freetype2.pc'\r\n                  to the PKG_CONFIG_PATH environment variable\r\n                  No package 'freetype2' found\r\n                  sh: 1: freetype-config: not found\r\n                  sh: 1: freetype-config: not found\r\n                  sh: 1: freetype-config: not found\r\n\r\n                  Hunting dependencies...\r\n                  WARNING: \"pkg-config freetype2\" failed!\r\n                  WARNING: \"freetype-config\" failed!\r\n                  SDL     : found 1.2.15\r\n                  FONT    : found\r\n                  IMAGE   : found\r\n                  MIXER   : found\r\n                  PNG     : found\r\n                  JPEG    : found\r\n                  SCRAP   : found\r\n                  PORTMIDI: found\r\n                  PORTTIME: found\r\n                  FREETYPE: not found\r\n                  Missing dependencies\r\n\r\n                  ----------------------------------------\r\n                  Command \"python setup.py egg_info\" failed with error code 1 in /tmp/pip-build-hZGMxh/pygame/"},"comment":{"url":"https://api.github.com/repos/pygame/pygame/issues/comments/433708403","html_url":"https://github.com/pygame/pygame/issues/588#issuecomment-433708403","issue_url":"https://api.github.com/repos/pygame/pygame/issues/588","id":433708403,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzcwODQwMw==","user":{"login":"ThatMelon","id":34657891,"node_id":"MDQ6VXNlcjM0NjU3ODkx","avatar_url":"https://avatars0.githubusercontent.com/u/34657891?v=4","gravatar_id":"","url":"https://api.github.com/users/ThatMelon","html_url":"https://github.com/ThatMelon","followers_url":"https://api.github.com/users/ThatMelon/followers","following_url":"https://api.github.com/users/ThatMelon/following{/other_user}","gists_url":"https://api.github.com/users/ThatMelon/gists{/gist_id}","starred_url":"https://api.github.com/users/ThatMelon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThatMelon/subscriptions","organizations_url":"https://api.github.com/users/ThatMelon/orgs","repos_url":"https://api.github.com/users/ThatMelon/repos","events_url":"https://api.github.com/users/ThatMelon/events{/privacy}","received_events_url":"https://api.github.com/users/ThatMelon/received_events","type":"User","site_admin":false},"created_at":"2018-10-28T14:07:14Z","updated_at":"2018-10-28T14:07:14Z","author_association":"NONE","body":"Hmm. When I list my packages it says python-pygame but when I try and run hypergan it says no module named 'pygame'"}}
{"actor":{"display_login":"ThatMelon"}}