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

Error: 'pybind11' must be installed before running the build. #2

Closed
Bra1nsen opened this issue Sep 14, 2022 · 2 comments
Closed

Error: 'pybind11' must be installed before running the build. #2

Bra1nsen opened this issue Sep 14, 2022 · 2 comments

Comments

@Bra1nsen
Copy link

pi@allskyLA:~/rawhdr $ sudo python setup.py install
running install
running bdist_egg
running egg_info
writing rawhdr.egg-info/PKG-INFO
writing dependency_links to rawhdr.egg-info/dependency_links.txt
writing entry points to rawhdr.egg-info/entry_points.txt
writing requirements to rawhdr.egg-info/requires.txt
writing top-level names to rawhdr.egg-info/top_level.txt
reading manifest file 'rawhdr.egg-info/SOURCES.txt'
writing manifest file 'rawhdr.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-armv7l/egg
running install_lib
running build_py
creating build/bdist.linux-armv7l/egg
creating build/bdist.linux-armv7l/egg/rawhdr
copying build/lib/rawhdr/focus_fusion.py -> build/bdist.linux-armv7l/egg/rawhdr
copying build/lib/rawhdr/generic_fusion.py -> build/bdist.linux-armv7l/egg/rawhdr
copying build/lib/rawhdr/common.py -> build/bdist.linux-armv7l/egg/rawhdr
copying build/lib/rawhdr/exposure_fusion.py -> build/bdist.linux-armv7l/egg/rawhdr
creating build/bdist.linux-armv7l/egg/rawhdr/test
copying build/lib/rawhdr/test/test_exposure_fusion.py -> build/bdist.linux-armv7l/egg/rawhdr/test
copying build/lib/rawhdr/test/__init__.py -> build/bdist.linux-armv7l/egg/rawhdr/test
copying build/lib/rawhdr/test/test_common.py -> build/bdist.linux-armv7l/egg/rawhdr/test
copying build/lib/rawhdr/__init__.py -> build/bdist.linux-armv7l/egg/rawhdr
copying build/lib/rawhdr/cli.py -> build/bdist.linux-armv7l/egg/rawhdr
byte-compiling build/bdist.linux-armv7l/egg/rawhdr/focus_fusion.py to focus_fusion.cpython-39.pyc
byte-compiling build/bdist.linux-armv7l/egg/rawhdr/generic_fusion.py to generic_fusion.cpython-39.pyc
byte-compiling build/bdist.linux-armv7l/egg/rawhdr/common.py to common.cpython-39.pyc
byte-compiling build/bdist.linux-armv7l/egg/rawhdr/exposure_fusion.py to exposure_fusion.cpython-39.pyc
byte-compiling build/bdist.linux-armv7l/egg/rawhdr/test/test_exposure_fusion.py to test_exposure_fusion.cpython-39.pyc
byte-compiling build/bdist.linux-armv7l/egg/rawhdr/test/__init__.py to __init__.cpython-39.pyc
byte-compiling build/bdist.linux-armv7l/egg/rawhdr/test/test_common.py to test_common.cpython-39.pyc
byte-compiling build/bdist.linux-armv7l/egg/rawhdr/__init__.py to __init__.cpython-39.pyc
byte-compiling build/bdist.linux-armv7l/egg/rawhdr/cli.py to cli.cpython-39.pyc
creating build/bdist.linux-armv7l/egg/EGG-INFO
copying rawhdr.egg-info/PKG-INFO -> build/bdist.linux-armv7l/egg/EGG-INFO
copying rawhdr.egg-info/SOURCES.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying rawhdr.egg-info/dependency_links.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying rawhdr.egg-info/entry_points.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying rawhdr.egg-info/requires.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying rawhdr.egg-info/top_level.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating 'dist/rawhdr-0.6.0-py3.9.egg' and adding 'build/bdist.linux-armv7l/egg' to it
removing 'build/bdist.linux-armv7l/egg' (and everything under it)
Processing rawhdr-0.6.0-py3.9.egg
Removing /usr/local/lib/python3.9/dist-packages/rawhdr-0.6.0-py3.9.egg
Copying rawhdr-0.6.0-py3.9.egg to /usr/local/lib/python3.9/dist-packages
rawhdr 0.6.0 is already the active version in easy-install.pth
Installing rawhdr script to /usr/local/bin

Installed /usr/local/lib/python3.9/dist-packages/rawhdr-0.6.0-py3.9.egg
Processing dependencies for rawhdr==0.6.0
Searching for scipy
Reading https://pypi.org/simple/scipy/
Downloading https://files.pythonhosted.org/packages/db/af/16906139f52bc6866c43401869ce247662739ad71afa11c6f18505eb0546/scipy-1.9.1.tar.gz#sha256=26d28c468900e6d5fdb37d2812ab46db0ccd22c63baa095057871faa3a498bc9
Best match: scipy 1.9.1
Processing scipy-1.9.1.tar.gz
Writing /tmp/easy_install-6efbji2k/scipy-1.9.1/setup.cfg
Running scipy-1.9.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-6efbji2k/scipy-1.9.1/egg-dist-tmp-tw0tpqxb
/tmp/easy_install-6efbji2k/scipy-1.9.1/setup.py:390: UserWarning: Unrecognized setuptools command ('-q bdist_egg --dist-dir /tmp/easy_install-6efbji2k/scipy-1.9.1/egg-dist-tmp-tw0tpqxb'), proceeding with generating Cython sources and expanding templates
  warnings.warn("Unrecognized setuptools command ('{}'), proceeding with "
Error: 'pybind11' must be installed before running the build.

error: Setup script exited with 1

@Bra1nsen
Copy link
Author

using bullseye ios raspberry pi 4b

@fthaler
Copy link
Owner

fthaler commented Nov 6, 2022

It looks like pip tries to build scipy (a dependency of rawhdr) from source, so this does not look like a problem of rawhdr itself. In theory, pip install scipy should work on a Raspberry PI 4, I think. Maybe you could also try installing scipy using the package manager, as documented here: https://scipy.org/install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants