mherkazandjian / fastgrab

Python package for taking super-fast screenshots
GNU General Public License v3.0
60 stars 4 forks source link

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

Open kopyl opened 2 years ago

kopyl commented 2 years ago

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 https://github.com/Homebrew/homebrew-core/issues/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/python@3.8/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/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/opt/tcl-tk/include -I/usr/local/Cellar/python@3.8/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/openssl@1.1/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 https://github.com/Homebrew/homebrew-core/issues/76621 Running setup.py install for fastgrab ... error ERROR: Command errored out with exit status 1: command: /usr/local/opt/python@3.8/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/openssl@1.1/include -I/usr/local/opt/sqlite/include -I/usr/local/opt/tcl-tk/include -I/usr/local/Cellar/python@3.8/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/openssl@1.1/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/python@3.8/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 commented 1 year ago

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