{"action":"created","issue":{"url":"https://api.github.com/repos/taoliu/MACS/issues/75","labels_url":"https://api.github.com/repos/taoliu/MACS/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/taoliu/MACS/issues/75/comments","events_url":"https://api.github.com/repos/taoliu/MACS/issues/75/events","html_url":"https://github.com/taoliu/MACS/issues/75","id":69703126,"number":75,"title":"Error updating MACS2 from PyPi with GCC 4.4.7 and Python 2.7.5","user":{"login":"PikalaxALT","id":1895773,"avatar_url":"https://avatars.githubusercontent.com/u/1895773?v=3","gravatar_id":"","url":"https://api.github.com/users/PikalaxALT","html_url":"https://github.com/PikalaxALT","followers_url":"https://api.github.com/users/PikalaxALT/followers","following_url":"https://api.github.com/users/PikalaxALT/following{/other_user}","gists_url":"https://api.github.com/users/PikalaxALT/gists{/gist_id}","starred_url":"https://api.github.com/users/PikalaxALT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PikalaxALT/subscriptions","organizations_url":"https://api.github.com/users/PikalaxALT/orgs","repos_url":"https://api.github.com/users/PikalaxALT/repos","events_url":"https://api.github.com/users/PikalaxALT/events{/privacy}","received_events_url":"https://api.github.com/users/PikalaxALT/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-20T23:24:24Z","updated_at":"2015-06-18T14:26:47Z","closed_at":null,"body":"Command input: `pip install --upgrade --user MACS2`\r\n\r\nLast few lines of output:\r\n\r\n    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/scnorton/.local/lib/python2.7/site-packages/numpy/core/include -I/opt/software/python/python-2.7.5/include/python2.7 -c MACS2/Prob.c -o build/temp.linux-x86_64-2.7/MACS2/Prob.o -w -Ofast\r\n    \r\n    cc1: error: invalid option argument ‘-Ofast’\r\n    \r\n    error: command 'gcc' failed with exit status 1\r\n    \r\n    ----------------------------------------\r\n      Rolling back uninstall of MACS2\r\n    Cleaning up...\r\n    Command /opt/software/python/python-2.7.5/bin/python -c \"import setuptools;__file__='/tmp/pip_build_scnorton/MACS2/setup.py';exec(compile(open(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" install --record /tmp/pip-3WIq2e-record/install-record.txt --single-version-externally-managed --user failed with error code 1 in /tmp/pip_build_scnorton/MACS2\r\n    Traceback (most recent call last):\r\n      File \"/home/scnorton/.local/bin/pip\", line 11, in <module>\r\n        sys.exit(main())\r\n      File \"/opt/software/python/python-2.7.5/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg/pip/__init__.py\", line 148, in main\r\n        return command.main(args[1:], options)\r\n      File \"/opt/software/python/python-2.7.5/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg/pip/basecommand.py\", line 169, in main\r\n        text = '\\n'.join(complete_log)\r\n    UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 40: ordinal not in range(128)\r\n    "},"comment":{"url":"https://api.github.com/repos/taoliu/MACS/issues/comments/113172504","html_url":"https://github.com/taoliu/MACS/issues/75#issuecomment-113172504","issue_url":"https://api.github.com/repos/taoliu/MACS/issues/75","id":113172504,"user":{"login":"dariober","id":6883382,"avatar_url":"https://avatars.githubusercontent.com/u/6883382?v=3","gravatar_id":"","url":"https://api.github.com/users/dariober","html_url":"https://github.com/dariober","followers_url":"https://api.github.com/users/dariober/followers","following_url":"https://api.github.com/users/dariober/following{/other_user}","gists_url":"https://api.github.com/users/dariober/gists{/gist_id}","starred_url":"https://api.github.com/users/dariober/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dariober/subscriptions","organizations_url":"https://api.github.com/users/dariober/orgs","repos_url":"https://api.github.com/users/dariober/repos","events_url":"https://api.github.com/users/dariober/events{/privacy}","received_events_url":"https://api.github.com/users/dariober/received_events","type":"User","site_admin":false},"created_at":"2015-06-18T14:26:47Z","updated_at":"2015-06-18T14:26:47Z","body":"Hi- I stumbled across the very same problem and the fix suggested by Tao worked, thanks! I'd suggest adding a line in the INSTALL.rst file mentioning the requirement for gcc version and redirecting here if one cannot upgrade it.\r\n\r\nDario"}}