-
Notifications
You must be signed in to change notification settings - Fork 822
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
bug/will not pip install unstructured[pdf] on gitpod #2831
Comments
can be related Unstructured-IO/unstructured-inference#336 |
I have the same error, is there any progress in solving the problem? |
This is worth trying again with the latest version of Let us know how you go. |
@thams - Do you know if this is still an issue on the latest version? |
I have exactly the same problem under macOS 15.1 with Python 3.13.0. Can anyone help me? |
Same as @scsudo for me. |
Describe the bug
pip install unstructured[pdf] results in ERROR: Could not build wheels for onnx, which is required to install pyproject.toml-based projects
To Reproduce
% pip install unstructured[pdf]
Expected behavior
unstructured[pdf] to be installed without error.
Screenshots
Building wheels for collected packages: onnx
Building wheel for onnx (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for onnx (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [112 lines of output]
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
running bdist_wheel
running build
running build_py
running create_version
running cmake_build
Using cmake args: ['/home/linuxbrew/.linuxbrew/bin/cmake', '-DPYTHON_INCLUDE_DIR=/home/gitpod/.pyenv/versions/3.12.2/include/python3.12', '-DPYTHON_EXECUTABLE=/home/gitpod/.pyenv/versions/3.12.2/bin/python3.12', '-DBUILD_ONNX_PYTHON=ON', '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON', '-DONNX_NAMESPACE=onnx', '-DPY_EXT_SUFFIX=.cpython-312-x86_64-linux-gnu.so', '-DCMAKE_BUILD_TYPE=Release', '-DONNX_ML=1', '/tmp/pip-install-vdhok58s/onnx_5f1b4c51f66549599449a17a03800247']
CMake Deprecation Warning at CMakeLists.txt:2 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for onnx
Failed to build onnx
ERROR: Could not build wheels for onnx, which is required to install pyproject.toml-based projects
Environment Info
Please run
python scripts/collect_env.py
and paste the output here.No such file or directory
/home/gitpod/.pyenv/versions/3.12.2/bin/python: can't open file '/workspace/template-jupyter-notebook/collect_env.py': [Errno 2] No such file or directory
Additional context
Running on a simple gitpod such as this one: https://github.com/gitpod-samples/template-jupyter-notebook
The text was updated successfully, but these errors were encountered: