Replies: 1 comment
-
Please see: #755 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When trying to install the dependencies on Colab (step 1), I get the following error:
Get:1 https://cloud.r-project.org/bin/linux/ubuntu bionic-cran40/ InRelease [3,626 B]
Ign:2 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64 InRelease
Get:3 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 InRelease [1,581 B]
Hit:4 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64 Release
Hit:5 http://archive.ubuntu.com/ubuntu bionic InRelease
Get:6 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:7 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:8 http://ppa.launchpad.net/c2d4u.team/c2d4u4.0+/ubuntu bionic InRelease [15.9 kB]
Get:9 https://cloud.r-project.org/bin/linux/ubuntu bionic-cran40/ Packages [98.9 kB]
Get:10 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [83.3 kB]
Get:11 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 Packages [992 kB]
Hit:12 http://ppa.launchpad.net/cran/libgit2/ubuntu bionic InRelease
Get:14 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic InRelease [15.9 kB]
Hit:15 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic InRelease
Get:16 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2,332 kB]
Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [3,472 kB]
Get:18 http://ppa.launchpad.net/c2d4u.team/c2d4u4.0+/ubuntu bionic/main Sources [2,216 kB]
Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [1,267 kB]
Get:20 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [3,040 kB]
Get:21 http://ppa.launchpad.net/c2d4u.team/c2d4u4.0+/ubuntu bionic/main amd64 Packages [1,133 kB]
Get:22 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1,554 kB]
Get:23 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [1,226 kB]
Fetched 17.6 MB in 5s (3,808 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.4ubuntu1).
ffmpeg is already the newest version (7:3.4.11-0ubuntu0.1).
The following package was automatically installed and is no longer required:
libnvidia-common-460
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
libvulkan1 python-pip-whl swig3.0
Suggested packages:
swig-doc swig-examples swig3.0-examples swig3.0-doc
Recommended packages:
mesa-vulkan-drivers | vulkan-icd python3-setuptools python3-wheel
The following NEW packages will be installed:
glslang-dev glslang-tools libvulkan-dev libvulkan1 ninja-build
python-pip-whl python3-pip swig swig3.0
0 upgraded, 9 newly installed, 0 to remove and 28 not upgraded.
Need to get 5,244 kB of archives.
After this operation, 25.3 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic/universe amd64 ninja-build amd64 1.8.2-1 [93.3 kB]
Get:2 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main amd64 glslang-dev amd64 7.8.2853-2
gpu18.04.1 [954 kB]ubuntu1.18.04.5 [1,653 kB]Get:3 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 python-pip-whl all 9.0.1-2.3
Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 python3-pip all 9.0.1-2.3
ubuntu1.18.04.5 [114 kB]gpu18.04.1 [756 kB]Get:5 http://archive.ubuntu.com/ubuntu bionic/universe amd64 swig3.0 amd64 3.0.12-1 [1,094 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic/universe amd64 swig amd64 3.0.12-1 [6,460 B]
Get:7 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main amd64 glslang-tools amd64 7.8.2853-2
Get:8 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main amd64 libvulkan1 amd64 1.1.126.0-2
gpu18.04.1 [101 kB]gpu18.04.1 [472 kB]Get:9 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main amd64 libvulkan-dev amd64 1.1.126.0-2
Fetched 5,244 kB in 4s (1,332 kB/s)
Selecting previously unselected package glslang-dev.
(Reading database ... 123942 files and directories currently installed.)
Preparing to unpack .../0-glslang-dev_7.8.2853-2
gpu18.04.1_amd64.deb ...gpu18.04.1) ...Unpacking glslang-dev (7.8.2853-2
Selecting previously unselected package glslang-tools.
Preparing to unpack .../1-glslang-tools_7.8.2853-2
gpu18.04.1_amd64.deb ...gpu18.04.1) ...Unpacking glslang-tools (7.8.2853-2
Selecting previously unselected package libvulkan1:amd64.
Preparing to unpack .../2-libvulkan1_1.1.126.0-2
gpu18.04.1_amd64.deb ...gpu18.04.1) ...Unpacking libvulkan1:amd64 (1.1.126.0-2
Selecting previously unselected package libvulkan-dev:amd64.
Preparing to unpack .../3-libvulkan-dev_1.1.126.0-2
gpu18.04.1_amd64.deb ...gpu18.04.1) ...Unpacking libvulkan-dev:amd64 (1.1.126.0-2
Selecting previously unselected package ninja-build.
Preparing to unpack .../4-ninja-build_1.8.2-1_amd64.deb ...
Unpacking ninja-build (1.8.2-1) ...
Selecting previously unselected package python-pip-whl.
Preparing to unpack .../5-python-pip-whl_9.0.1-2.3
ubuntu1.18.04.5_all.deb ...ubuntu1.18.04.5) ...Unpacking python-pip-whl (9.0.1-2.3
Selecting previously unselected package python3-pip.
Preparing to unpack .../6-python3-pip_9.0.1-2.3
ubuntu1.18.04.5_all.deb ...ubuntu1.18.04.5) ...Unpacking python3-pip (9.0.1-2.3
Selecting previously unselected package swig3.0.
Preparing to unpack .../7-swig3.0_3.0.12-1_amd64.deb ...
Unpacking swig3.0 (3.0.12-1) ...
Selecting previously unselected package swig.
Preparing to unpack .../8-swig_3.0.12-1_amd64.deb ...
Unpacking swig (3.0.12-1) ...
Setting up libvulkan1:amd64 (1.1.126.0-2
gpu18.04.1) ...ubuntu1.18.04.5) ...Setting up python-pip-whl (9.0.1-2.3
Setting up glslang-tools (7.8.2853-2
gpu18.04.1) ...gpu18.04.1) ...Setting up swig3.0 (3.0.12-1) ...
Setting up glslang-dev (7.8.2853-2
Setting up libvulkan-dev:amd64 (1.1.126.0-2
gpu18.04.1) ...ubuntu1.18.04.5) ...Setting up python3-pip (9.0.1-2.3
Setting up ninja-build (1.8.2-1) ...
Setting up swig (3.0.12-1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1.6) ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 50.7M 100 50.7M 0 0 30.0M 0 0:00:01 0:00:01 --:--:-- 36.8M
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 32.4M 100 32.4M 0 0 7995k 0 0:00:04 0:00:04 --:--:-- 10.9M
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 77.9M 100 77.9M 0 0 33.2M 0 0:00:02 0:00:02 --:--:-- 39.1M
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 418M 100 418M 0 0 23.9M 0 0:00:17 0:00:17 --:--:-- 14.5M
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 31.7M 100 31.7M 0 0 26.7M 0 0:00:01 0:00:01 --:--:-- 36.5M
Archive: rife-ncnn-vulkan-python-1.1.3-ubuntu1804_3.7.zip
creating: /content/wheels/rife-ncnn-vulkan-python-1.1.3-ubuntu1804/
inflating: /content/wheels/rife-ncnn-vulkan-python-1.1.3-ubuntu1804/LICENSE
inflating: /content/wheels/rife-ncnn-vulkan-python-1.1.3-ubuntu1804/rife_ncnn_vulkan_python-1.1.3-cp37-cp37m-linux_x86_64.whl
inflating: /content/wheels/rife-ncnn-vulkan-python-1.1.3-ubuntu1804/README.md
Archive: realcugan-ncnn-vulkan-python-1.0.2-ubuntu1804_3.7.zip
creating: /content/wheels/realcugan-ncnn-vulkan-python-1.0.2-ubuntu1804/
inflating: /content/wheels/realcugan-ncnn-vulkan-python-1.0.2-ubuntu1804/README.md
inflating: /content/wheels/realcugan-ncnn-vulkan-python-1.0.2-ubuntu1804/realcugan_ncnn_vulkan_python-1.0.2-cp37-cp37m-linux_x86_64.whl
inflating: /content/wheels/realcugan-ncnn-vulkan-python-1.0.2-ubuntu1804/LICENSE
Archive: srmd-ncnn-vulkan-python-1.0.2-2-ubuntu1804_3.7.zip
creating: /content/wheels/srmd-ncnn-vulkan-python-1.0.2-2-ubuntu1804/
inflating: /content/wheels/srmd-ncnn-vulkan-python-1.0.2-2-ubuntu1804/LICENSE
inflating: /content/wheels/srmd-ncnn-vulkan-python-1.0.2-2-ubuntu1804/srmd_ncnn_vulkan_python-1.0.2.post2-cp37-cp37m-linux_x86_64.whl
inflating: /content/wheels/srmd-ncnn-vulkan-python-1.0.2-2-ubuntu1804/README.md
Archive: waifu2x-ncnn-vulkan-python-1.0.4-ubuntu1804_3.7.zip
creating: /content/wheels/waifu2x-ncnn-vulkan-python-1.0.4-ubuntu1804/
inflating: /content/wheels/waifu2x-ncnn-vulkan-python-1.0.4-ubuntu1804/LICENSE
inflating: /content/wheels/waifu2x-ncnn-vulkan-python-1.0.4-ubuntu1804/waifu2x_ncnn_vulkan_python-1.0.4-cp37-cp37m-linux_x86_64.whl
inflating: /content/wheels/waifu2x-ncnn-vulkan-python-1.0.4-ubuntu1804/README.md
Archive: realsr-ncnn-vulkan-python-1.0.6-ubuntu1804_3.7.zip
creating: /content/wheels/realsr-ncnn-vulkan-python-1.0.6-ubuntu1804/
inflating: /content/wheels/realsr-ncnn-vulkan-python-1.0.6-ubuntu1804/LICENSE
inflating: /content/wheels/realsr-ncnn-vulkan-python-1.0.6-ubuntu1804/README.md
inflating: /content/wheels/realsr-ncnn-vulkan-python-1.0.6-ubuntu1804/realsr_ncnn_vulkan_python-1.0.6-cp37-cp37m-linux_x86_64.whl
5 archives were successfully processed.
Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
Requirement already satisfied: pip in /usr/local/lib/python3.7/dist-packages (21.1.3)
Collecting pip
Downloading pip-22.3.1-py3-none-any.whl (2.1 MB)
|████████████████████████████████| 2.1 MB 9.0 MB/s
Requirement already satisfied: wheel in /usr/local/lib/python3.7/dist-packages (0.37.1)
Collecting wheel
Downloading wheel-0.38.2-py3-none-any.whl (36 kB)
Collecting pdm-pep517
Downloading pdm_pep517-1.0.5-py3-none-any.whl (305 kB)
|████████████████████████████████| 305 kB 71.0 MB/s
Requirement already satisfied: setuptools in /usr/local/lib/python3.7/dist-packages (57.4.0)
Collecting setuptools
Downloading setuptools-65.5.1-py3-none-any.whl (1.2 MB)
|████████████████████████████████| 1.2 MB 55.9 MB/s
Collecting setuptools-scm
Downloading setuptools_scm-7.0.5-py3-none-any.whl (42 kB)
|████████████████████████████████| 42 kB 1.8 MB/s
Requirement already satisfied: packaging>=20.0 in /usr/local/lib/python3.7/dist-packages (from setuptools-scm) (21.3)
Requirement already satisfied: typing-extensions in /usr/local/lib/python3.7/dist-packages (from setuptools-scm) (4.1.1)
Requirement already satisfied: tomli>=1.0.0 in /usr/local/lib/python3.7/dist-packages (from setuptools-scm) (2.0.1)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/dist-packages (from setuptools-scm) (4.13.0)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /usr/local/lib/python3.7/dist-packages (from packaging>=20.0->setuptools-scm) (3.0.9)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/dist-packages (from importlib-metadata->setuptools-scm) (3.10.0)
Installing collected packages: setuptools, wheel, setuptools-scm, pip, pdm-pep517
Attempting uninstall: setuptools
Found existing installation: setuptools 57.4.0
Uninstalling setuptools-57.4.0:
Successfully uninstalled setuptools-57.4.0
Attempting uninstall: wheel
Found existing installation: wheel 0.37.1
Uninstalling wheel-0.37.1:
Successfully uninstalled wheel-0.37.1
Attempting uninstall: pip
Found existing installation: pip 21.1.3
Uninstalling pip-21.1.3:
Successfully uninstalled pip-21.1.3
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
ipython 7.9.0 requires jedi>=0.10, which is not installed.
Successfully installed pdm-pep517-1.0.5 pip-22.3.1 setuptools-65.5.1 setuptools-scm-7.0.5 wheel-0.38.2
Using pip 22.3.1 from /usr/local/lib/python3.7/dist-packages/pip (python 3.7)
Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
Looking in links: /content/wheels
Collecting video2x@ git+https://github.com/k4yt3x/[email protected]
Cloning https://github.com/k4yt3x/video2x.git (to revision 5.0.0-beta6) to /tmp/pip-install-2f665qw7/video2x_7ecc9dc8951d47749ae4962035738a34
Running command git version
git version 2.17.1
Running command git clone --filter=blob:none https://github.com/k4yt3x/video2x.git /tmp/pip-install-2f665qw7/video2x_7ecc9dc8951d47749ae4962035738a34
Cloning into '/tmp/pip-install-2f665qw7/video2x_7ecc9dc8951d47749ae4962035738a34'...
Running command git show-ref 5.0.0-beta6
84b7304 refs/tags/5.0.0-beta6
Running command git rev-parse HEAD
84b7304
Resolved https://github.com/k4yt3x/video2x.git to commit 84b7304
Running command git rev-parse HEAD
84b7304
Running command pip subprocess to install build dependencies
Using pip 22.3.1 from /usr/local/lib/python3.7/dist-packages/pip (python 3.7)
Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/, https://us-python.pkg.dev/colab-wheels/public/simple/
Looking in links: /content/wheels
Collecting pdm-pep517>=0.12.0
Using cached pdm_pep517-1.0.5-py3-none-any.whl (305 kB)
Installing collected packages: pdm-pep517
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-x__co7fk/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-x__co7fk/overlay/lib/python3.7/site-packages/pdm/pep517/base.py", line 154, in meta
self._meta.validate(True)
File "/tmp/pip-build-env-x__co7fk/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-x__co7fk/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/tmpxo5r28r4
cwd: /tmp/pip-install-2f665qw7/video2x_7ecc9dc8951d47749ae4962035738a34
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.
Beta Was this translation helpful? Give feedback.
All reactions