Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install. Here is the log: #13

Open
kopyl opened this issue Dec 9, 2021 · 1 comment
Open

Can't install. Here is the log: #13

kopyl opened this issue Dec 9, 2021 · 1 comment
Assignees
Labels
bug Something isn't working feature

Comments

@kopyl
Copy link

kopyl commented Dec 9, 2021

Olehs-MacBook-Pro:Downloads olehkopyl$ pip install fastgrab
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at Homebrew/homebrew-core#76621
Collecting fastgrab
Using cached fastgrab-0.2.0.tar.gz (5.1 kB)
Building wheels for collected packages: fastgrab
Building wheel for fastgrab (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/opt/[email protected]/bin/python3.8 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/bh/55g94q1x3hdfscnrgqk931fc0000gp/T/pip-install-s5kjv0wl/fastgrab_7099725697c24e9e94bc273ff3f1dc0a/setup.py'"'"'; file='"'"'/private/var/folders/bh/55g94q1x3hdfscnrgqk931fc0000gp/T/pip-install-s5kjv0wl/fastgrab_7099725697c24e9e94bc273ff3f1dc0a/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/bh/55g94q1x3hdfscnrgqk931fc0000gp/T/pip-wheel-wz8k1qsa
cwd: /private/var/folders/bh/55g94q1x3hdfscnrgqk931fc0000gp/T/pip-install-s5kjv0wl/fastgrab_7099725697c24e9e94bc273ff3f1dc0a/
Complete output (19 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-12-x86_64-3.8
creating build/lib.macosx-12-x86_64-3.8/fastgrab
copying fastgrab/metadata.py -> build/lib.macosx-12-x86_64-3.8/fastgrab
copying fastgrab/init.py -> build/lib.macosx-12-x86_64-3.8/fastgrab
copying fastgrab/screenshot.py -> build/lib.macosx-12-x86_64-3.8/fastgrab
running build_ext
building 'fastgrab._linux_x11' extension
creating build/temp.macosx-12-x86_64-3.8
creating build/temp.macosx-12-x86_64-3.8/fastgrab
creating build/temp.macosx-12-x86_64-3.8/fastgrab/linux_x11
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -I/usr/local/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include -I/usr/local/opt/[email protected]/include -I/usr/local/opt/sqlite/include -I/usr/local/opt/tcl-tk/include -I/usr/local/Cellar/[email protected]/3.8.12_1/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c fastgrab/linux_x11/screenshot.c -o build/temp.macosx-12-x86_64-3.8/fastgrab/linux_x11/screenshot.o -fno-strict-aliasing -std=c11 -mtune=native
clang -bundle -undefined dynamic_lookup -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk build/temp.macosx-12-x86_64-3.8/fastgrab/linux_x11/screenshot.o -L/usr/local/lib -L/usr/local/opt/[email protected]/lib -L/usr/local/opt/sqlite/lib -L/usr/local/opt/tcl-tk/lib -lX11 -lgomp -o build/lib.macosx-12-x86_64-3.8/fastgrab/_linux_x11.cpython-38-darwin.so
ld: library not found for -lgomp
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command 'clang' failed with exit status 1

ERROR: Failed building wheel for fastgrab
Running setup.py clean for fastgrab
Failed to build fastgrab
Installing collected packages: fastgrab
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at Homebrew/homebrew-core#76621
Running setup.py install for fastgrab ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/opt/[email protected]/bin/python3.8 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/bh/55g94q1x3hdfscnrgqk931fc0000gp/T/pip-install-s5kjv0wl/fastgrab_7099725697c24e9e94bc273ff3f1dc0a/setup.py'"'"'; file='"'"'/private/var/folders/bh/55g94q1x3hdfscnrgqk931fc0000gp/T/pip-install-s5kjv0wl/fastgrab_7099725697c24e9e94bc273ff3f1dc0a/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/bh/55g94q1x3hdfscnrgqk931fc0000gp/T/pip-record-bj51wcr1/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.8/fastgrab
cwd: /private/var/folders/bh/55g94q1x3hdfscnrgqk931fc0000gp/T/pip-install-s5kjv0wl/fastgrab_7099725697c24e9e94bc273ff3f1dc0a/
Complete output (19 lines):
running install
running build
running build_py
creating build
creating build/lib.macosx-12-x86_64-3.8
creating build/lib.macosx-12-x86_64-3.8/fastgrab
copying fastgrab/metadata.py -> build/lib.macosx-12-x86_64-3.8/fastgrab
copying fastgrab/init.py -> build/lib.macosx-12-x86_64-3.8/fastgrab
copying fastgrab/screenshot.py -> build/lib.macosx-12-x86_64-3.8/fastgrab
running build_ext
building 'fastgrab._linux_x11' extension
creating build/temp.macosx-12-x86_64-3.8
creating build/temp.macosx-12-x86_64-3.8/fastgrab
creating build/temp.macosx-12-x86_64-3.8/fastgrab/linux_x11
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -I/usr/local/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include -I/usr/local/opt/[email protected]/include -I/usr/local/opt/sqlite/include -I/usr/local/opt/tcl-tk/include -I/usr/local/Cellar/[email protected]/3.8.12_1/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c fastgrab/linux_x11/screenshot.c -o build/temp.macosx-12-x86_64-3.8/fastgrab/linux_x11/screenshot.o -fno-strict-aliasing -std=c11 -mtune=native
clang -bundle -undefined dynamic_lookup -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk build/temp.macosx-12-x86_64-3.8/fastgrab/linux_x11/screenshot.o -L/usr/local/lib -L/usr/local/opt/[email protected]/lib -L/usr/local/opt/sqlite/lib -L/usr/local/opt/tcl-tk/lib -lX11 -lgomp -o build/lib.macosx-12-x86_64-3.8/fastgrab/_linux_x11.cpython-38-darwin.so
ld: library not found for -lgomp
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command 'clang' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/local/opt/[email protected]/bin/python3.8 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/bh/55g94q1x3hdfscnrgqk931fc0000gp/T/pip-install-s5kjv0wl/fastgrab_7099725697c24e9e94bc273ff3f1dc0a/setup.py'"'"'; file='"'"'/private/var/folders/bh/55g94q1x3hdfscnrgqk931fc0000gp/T/pip-install-s5kjv0wl/fastgrab_7099725697c24e9e94bc273ff3f1dc0a/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/bh/55g94q1x3hdfscnrgqk931fc0000gp/T/pip-record-bj51wcr1/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.8/fastgrab Check the logs for full command output.

@mherkazandjian
Copy link
Owner

i have not testing this on mac, i might look into this in the future. it is on my todo list.

@mherkazandjian mherkazandjian self-assigned this Aug 20, 2023
@mherkazandjian mherkazandjian added bug Something isn't working feature labels Aug 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feature
Projects
None yet
Development

No branches or pull requests

2 participants