{"action":"created","issue":{"url":"https://api.github.com/repos/python-pillow/Pillow/issues/1827","repository_url":"https://api.github.com/repos/python-pillow/Pillow","labels_url":"https://api.github.com/repos/python-pillow/Pillow/issues/1827/labels{/name}","comments_url":"https://api.github.com/repos/python-pillow/Pillow/issues/1827/comments","events_url":"https://api.github.com/repos/python-pillow/Pillow/issues/1827/events","html_url":"https://github.com/python-pillow/Pillow/issues/1827","id":147726596,"number":1827,"title":"installation error in pillow in virtualenv in ubuntu 14.04","user":{"login":"kartikdanidhariya","id":9051467,"avatar_url":"https://avatars.githubusercontent.com/u/9051467?v=3","gravatar_id":"","url":"https://api.github.com/users/kartikdanidhariya","html_url":"https://github.com/kartikdanidhariya","followers_url":"https://api.github.com/users/kartikdanidhariya/followers","following_url":"https://api.github.com/users/kartikdanidhariya/following{/other_user}","gists_url":"https://api.github.com/users/kartikdanidhariya/gists{/gist_id}","starred_url":"https://api.github.com/users/kartikdanidhariya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kartikdanidhariya/subscriptions","organizations_url":"https://api.github.com/users/kartikdanidhariya/orgs","repos_url":"https://api.github.com/users/kartikdanidhariya/repos","events_url":"https://api.github.com/users/kartikdanidhariya/events{/privacy}","received_events_url":"https://api.github.com/users/kartikdanidhariya/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/python-pillow/Pillow/labels/Linux","name":"Linux","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-12T11:55:40Z","updated_at":"2016-04-12T12:29:47Z","closed_at":null,"body":"\r\n\r\nPlease include code that reproduces the issue and whenever possible, an image that demonstrates the issue. The best reproductions are self-contained scripts with minimal dependencies.\r\n\r\n\r\ni create one virtual env in ubuntu 14.04 and my python version 2.7.9\r\nwhen i try ti install pillow using pip install pillow\r\nso it return following error\r\n\r\n\"error: command 'x86_64-linux-gnu-gcc' failed with exit status 1\r\n\r\n----------------------------------------\r\nCleaning up...\r\nCommand /home/vrs/isma_108_second/bin/python -c \"import setuptools, tokenize;__file__='/home/vrs/isma_108_second/build/pillow/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" install --record /tmp/pip-4dHL8k-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/vrs/isma_108_second/include/site/python2.7 failed with error code 1 in /home/vrs/isma_108_second/build/pillow\r\nTraceback (most recent call last):\r\n  File \"/home/vrs/isma_108_second/bin/pip\", line 11, in <module>\r\n    sys.exit(main())\r\n  File \"/home/vrs/isma_108_second/local/lib/python2.7/site-packages/pip/__init__.py\", line 185, in main\r\n    return command.main(cmd_args)\r\n  File \"/home/vrs/isma_108_second/local/lib/python2.7/site-packages/pip/basecommand.py\", line 161, in main\r\n    text = '\\n'.join(complete_log)\r\nUnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 66: ordinal not in range(128)\r\n\"\r\n\r\ni try with install dependency\r\n\"sudo apt-get install libtiff5-dev libjpeg8-dev zlib1g-dev \\\r\n    libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python-tk\r\n\"\r\n\r\nbut still get same error \r\n\r\nafter i tried with \r\nsudo apt-get install python-dev\r\n\r\nso it change the version of python from 2.7.4 to 2.7.9 but still error is same in virtual env\r\n\r\ni also try with \"easy_install pillow\"\r\n\r\nbut still give same error"},"comment":{"url":"https://api.github.com/repos/python-pillow/Pillow/issues/comments/208880349","html_url":"https://github.com/python-pillow/Pillow/issues/1827#issuecomment-208880349","issue_url":"https://api.github.com/repos/python-pillow/Pillow/issues/1827","id":208880349,"user":{"login":"wiredfool","id":19792,"avatar_url":"https://avatars.githubusercontent.com/u/19792?v=3","gravatar_id":"","url":"https://api.github.com/users/wiredfool","html_url":"https://github.com/wiredfool","followers_url":"https://api.github.com/users/wiredfool/followers","following_url":"https://api.github.com/users/wiredfool/following{/other_user}","gists_url":"https://api.github.com/users/wiredfool/gists{/gist_id}","starred_url":"https://api.github.com/users/wiredfool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wiredfool/subscriptions","organizations_url":"https://api.github.com/users/wiredfool/orgs","repos_url":"https://api.github.com/users/wiredfool/repos","events_url":"https://api.github.com/users/wiredfool/events{/privacy}","received_events_url":"https://api.github.com/users/wiredfool/received_events","type":"User","site_admin":false},"created_at":"2016-04-12T12:29:47Z","updated_at":"2016-04-12T12:29:47Z","body":"It looks like something in the log is not ascii, but that was triggered by some other error. Unfortunately, that error isn't showing up in the trace above. \r\n\r\nCould you download the source package from pypi, untar, and run `python setup.py install` from within the directory? That will push out much more useful logging."}}