k4yt3x / video2x

A machine learning-based lossless video super resolution framework. Est. Hack the Valley II, 2018.
https://video2x.org
GNU Affero General Public License v3.0
10.78k stars 1.01k forks source link

The line "!python3.7 -m pip install -Uvf /content/wheels video2x@git+https://github.com/k4yt3x/video2x.git@5.0.0-beta6" produces an error #763

Closed begoniawasp closed 1 year ago

begoniawasp commented 2 years ago

I am attempting to ue your colab notebook. I have a colab pro account. I get an error trying to install video2x from your github, as follows:

Successfully installed pdm-pep517-1.0.5 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv Installing build dependencies ... done Running command Getting requirements to build wheel Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 351, in main() File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 333, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 118, in get_requires_for_build_wheel return hook(config_settings) File "/tmp/pip-build-env-bzbp7w07/overlay/lib/python3.7/site-packages/pdm/pep517/api.py", line 26, in get_requires_for_build_wheel if builder.meta.config.run_setuptools: File "/tmp/pip-build-env-bzbp7w07/overlay/lib/python3.7/site-packages/pdm/pep517/base.py", line 154, in meta self._meta.validate(True) File "/tmp/pip-build-env-bzbp7w07/overlay/lib/python3.7/site-packages/pdm/pep517/metadata.py", line 58, in validate return validate_pep621(self.data, raising) File "/tmp/pip-build-env-bzbp7w07/overlay/lib/python3.7/site-packages/pdm/pep517/validator.py", line 85, in validate_pep621 raise PEP621ValidationError(validator.errors) pdm.pep517.exceptions.PEP621ValidationError: {'license-expression': ['unknown field']} 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. full command: /usr/bin/python3.7 /usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/in_process/_in_process.py get_requires_for_build_wheel /tmp/tmpoqxexazn cwd: /tmp/pip-install-mfv7bpx4/video2x_55ee0ef16b5f45e4a52fd3760820522f Getting requirements to build wheel ... error 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.

Almeros commented 2 years ago

This is a duplicate of https://github.com/k4yt3x/video2x/issues/755