Skip to content

Instantly share code, notes, and snippets.

@TheNextGuy32
Last active April 1, 2020 05:57
Show Gist options
  • Save TheNextGuy32/18f602f6647d48b3c8b0d535edd22f46 to your computer and use it in GitHub Desktop.
Save TheNextGuy32/18f602f6647d48b3c8b0d535edd22f46 to your computer and use it in GitHub Desktop.
Python brew package can't install python pillow, produces output
/usr/local/Cellar/templative/0.2.0/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/templative--Pillow-20200
Last 15 lines from /Users/oliverbarnum/Library/Logs/Homebrew/templative/26.pip:
File "/usr/local/Cellar/templative/0.2.0/libexec/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 186, in _main
status = self.run(options, args)
File "/usr/local/Cellar/templative/0.2.0/libexec/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 404, in run
use_user_site=options.use_user_site,
File "/usr/local/Cellar/templative/0.2.0/libexec/lib/python3.7/site-packages/pip/_internal/req/__init__.py", line 71, in install_given_reqs
**kwargs
File "/usr/local/Cellar/templative/0.2.0/libexec/lib/python3.7/site-packages/pip/_internal/req/req_install.py", line 829, in install
scheme=scheme,
File "/usr/local/Cellar/templative/0.2.0/libexec/lib/python3.7/site-packages/pip/_internal/operations/install/legacy.py", line 72, in install
cwd=install_req.unpacked_source_directory,
File "/usr/local/Cellar/templative/0.2.0/libexec/lib/python3.7/site-packages/pip/_internal/utils/subprocess.py", line 275, in runner
spinner=spinner,
File "/usr/local/Cellar/templative/0.2.0/libexec/lib/python3.7/site-packages/pip/_internal/utils/subprocess.py", line 242, in call_subprocess
raise InstallationError(exc_msg)
pip._internal.exceptions.InstallationError: Command errored out with exit status 1: /usr/local/Cellar/templative/0.2.0/libexec/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/tmp/pip-req-build-ut74a1p_/setup.py'"'"'; __file__='"'"'/private/tmp/pip-req-build-ut74a1p_/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/tmp/pip-record-9sw3klt8/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/Cellar/templative/0.2.0/libexec/bin/../include/site/python3.7/Pillow Check the logs for full command output.
class Templative < Formula
include Language::Python::Virtualenv
desc "Templates"
homepage "https://github.com/..."
url "https://github.com/.../0.0.0.tar.gz"
sha256 "..."
depends_on "cairo"
depends_on ...
# ...
resource "Pillow" do
url "https://files.pythonhosted.org/packages/39/47/f28067b187dd664d205f75b07dcc6e0e95703e134008a14814827eebcaab/Pillow-7.0.0.tar.gz"
sha256 "4d9ed9a64095e031435af120d3c910148067087541131e82b3e8db302f4c8946"
end
# ...
def install
virtualenv_install_with_resources(:using => "[email protected]")
end
test do
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment