seu-allen-codebase / v3d-py-helper Goto Github PK
View Code? Open in Web Editor NEWMake Vaa3D functions accessible for high-performance python computation.
License: MIT License
Make Vaa3D functions accessible for high-performance python computation.
License: MIT License
I encountered an error while trying to install v3d-py-helper using pip on Python 3.12.3 in an aarch64-darwin environment. However, installing version 0.1.0 works correctly.
The error appears to be caused by an issue in the package's build process, specifically related to the packaging of binary files. The missing directory suggests that a required dependency or file path is not correctly included or referenced in the build scripts. This could be due to incorrect setup configurations or a problem in the source distribution.
Any insights or suggestions to resolve this issue would be greatly appreciated.
The package should install successfully without errors.
The installation fails with a subprocess-exited-with-error due to a missing directory.
› pip install v3d-py-helper
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting v3d-py-helper
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/ee/a2/0d06d0f0430c9c1d9aa1bcf16aa474f0322f3f6bb24ac018020120f95cec/v3d-py-helper-0.3.0.tar.gz (25 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
Traceback (most recent call last):
File "/Users/yzx9/git/xxx/.direnv/python-3.12/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/Users/yzx9/git/xxx/.direnv/python-3.12/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/yzx9/git/xxx/.direnv/python-3.12/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/hc/ghcd_3c17px43sk9mv9x82mh0000gn/T/pip-build-env-et8hxabr/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 327, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/hc/ghcd_3c17px43sk9mv9x82mh0000gn/T/pip-build-env-et8hxabr/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 297, in _get_build_requires
self.run_setup()
File "/private/var/folders/hc/ghcd_3c17px43sk9mv9x82mh0000gn/T/pip-build-env-et8hxabr/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 313, in run_setup
exec(code, locals())
File "<string>", line 308, in <module>
File "/private/var/folders/hc/ghcd_3c17px43sk9mv9x82mh0000gn/T/pip-build-env-et8hxabr/overlay/lib/python3.12/site-packages/cmake_build_extension/cmake_extension.py", line 48, in __init__
raise ValueError(f"Directory '{source_dir}' does not exist")
ValueError: Directory '/private/var/folders/hc/ghcd_3c17px43sk9mv9x82mh0000gn/T/pip-install-7_f0vqqr/v3d-py-helper_5768e9261bdb41529af46e6e414c7d31/3rdparty/libtiff' does not exist
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
[notice] A new release of pip is available: 24.0 -> 24.2
[notice] To update, run: pip install --upgrade pip
~/v3d-py-helper$ pip3 install v3d-py-helper
Defaulting to user installation because normal site-packages is not writeable
Collecting v3d-py-helper
Using cached v3d-py-helper-0.1.0.tar.gz (10 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
WARNING: Generating metadata for package v3d-py-helper produced metadata for project name unknown. Fix your #egg=v3d-py-helper fragments.
Discarding https://files.pythonhosted.org/packages/22/28/8bc9b4549db7b8ab403804b2beca9445857992b757a0c67a6731aeb83cd3/v3d-py-helper-0.1.0.tar.gz#sha256=2328c5a26e04a07c0ad552f96a123bee12f8dc67e4a74f27d1f3c49e39039301 (from https://pypi.org/simple/v3d-py-helper/) (requires-python:>=3.9): Requested unknown from https://files.pythonhosted.org/packages/22/28/8bc9b4549db7b8ab403804b2beca9445857992b757a0c67a6731aeb83cd3/v3d-py-helper-0.1.0.tar.gz#sha256=2328c5a26e04a07c0ad552f96a123bee12f8dc67e4a74f27d1f3c49e39039301 has inconsistent name: filename has 'v3d-py-helper', but metadata has 'unknown'
ERROR: Could not find a version that satisfies the requirement v3d-py-helper (from versions: 0.1.0)
ERROR: No matching distribution found for v3d-py-helper
~/v3d-py-helper$ python3 setup.py build_ext --inplace
running build_ext
building 'v3dpy.loaders.pbd' extension
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/kdmarrett/.local/lib/python3.10/site-packages/numpy/core/include -I/usr/include/python3.10 -c v3dpy/loaders/pbd.c -o build/temp.linux-x86_64-3.10/v3dpy/loaders/pbd.o
cc1: fatal error: v3dpy/loaders/pbd.c: No such file or directory
compilation terminated.
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.