ipazc / pyzip Goto Github PK
View Code? Open in Web Editor NEWPython ZIP module for simple zip/unzip of custom elements on the fly. It is interfaced as a Dict for ease of use.
License: MIT License
Python ZIP module for simple zip/unzip of custom elements on the fly. It is interfaced as a Dict for ease of use.
License: MIT License
When installing pyzip with a pip version newer than 23.1, the following error occurs:
pip install pyzip
Collecting pyzip
Using cached pyzip-0.2.0.tar.gz (6.3 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/constantin.huetterer/.pyenv/versions/3.11.8/envs/test/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/Users/constantin.huetterer/.pyenv/versions/3.11.8/envs/test/lib/python3.11/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/constantin.huetterer/.pyenv/versions/3.11.8/envs/test/lib/python3.11/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/zv/jttqyxls773b0svh4b03lyw9zf7b_z/T/pip-build-env-ni643c30/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/zv/jttqyxls773b0svh4b03lyw9zf7b_z/T/pip-build-env-ni643c30/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
self.run_setup()
File "/private/var/folders/zv/jttqyxls773b0svh4b03lyw9zf7b_z/T/pip-build-env-ni643c30/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 487, in run_setup
super().run_setup(setup_script=setup_script)
File "/private/var/folders/zv/jttqyxls773b0svh4b03lyw9zf7b_z/T/pip-build-env-ni643c30/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 311, in run_setup
exec(code, locals())
File "<string>", line 27, in <module>
ImportError: cannot import name 'setuptools' from 'setuptools' (/private/var/folders/zv/jttqyxls773b0svh4b03lyw9zf7b_z/T/pip-build-env-ni643c30/overlay/lib/python3.11/site-packages/setuptools/__init__.py)
[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.
As a workaround, you can downgrade pip: pip install pip==23.0
.
There is also a PR addressing this issue (#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.