Skip to content

Unable to install Pycuda on Jetson TX2 with Python 3.6 in docker container #366

@frankvp11

Description

@frankvp11

Describe the bug
I am unable to install Pycuda==2020.1 in a Docker container on my Jetson TX2
To Reproduce
pip install pycuda==2020.1 (in a docker file)

Expected behavior
It would install in my container on python 3.6
Environment (please complete the following information):

  • OS: [e.g. iOS] Ubuntu 18.04
  • CUDA version: [e.g. 11.1] Cuda 10.2
  • CUDA driver version: [e.g. 470.86] No idea
  • PyCUDA version: [e.g 2021.1] Trying to get 2020.1
  • Python version: [e.g. 3.10] Python3.6

Keep in mind that I am trying to do this on Python 3.6 in a Docker Container on a Jetson TX2. I have pasted the full output below.

Sending build context to Docker daemon    213MB
Step 1/4 : FROM nvcr.io/nvidia/l4t-base:r32.7.1
 ---> 7a58a57ab551
Step 2/4 : RUN apt-get update && apt-get install -y --no-install-recommends make g++
 ---> Using cache
 ---> 5769fa4ce993
Step 3/4 : RUN apt-get install --assume-yes python3-pip && pip3 install numpy     Cython     pycuda==2020.1
 ---> Running in 9fa142ed215c
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  build-essential ca-certificates dbus dh-python dirmngr dpkg-dev fakeroot
  gir1.2-glib-2.0 gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client
  gpg-wks-server gpgconf gpgsm gpgv libalgorithm-diff-perl
  libalgorithm-diff-xs-perl libalgorithm-merge-perl libassuan0 libdbus-1-3
  libdpkg-perl libexpat1 libexpat1-dev libfakeroot libfile-fcntllock-perl
  libgirepository-1.0-1 libksba8 libnpth0 libpython3-dev libpython3.6
  libpython3.6-dev libpython3.6-minimal libpython3.6-stdlib openssl patch
  pinentry-curses python-pip-whl python3-asn1crypto python3-cffi-backend
  python3-crypto python3-cryptography python3-dbus python3-dev python3-gi
  python3-idna python3-keyring python3-keyrings.alt python3-pkg-resources
  python3-secretstorage python3-setuptools python3-six python3-wheel
  python3-xdg python3.6 python3.6-dev python3.6-minimal xz-utils
Suggested packages:
  default-dbus-session-bus | dbus-session-bus dbus-user-session libpam-systemd
  pinentry-gnome3 tor debian-keyring parcimonie xloadimage scdaemon git bzr ed
  diffutils-doc pinentry-doc python-crypto-doc python-cryptography-doc
  python3-cryptography-vectors python-dbus-doc python3-dbus-dbg gnome-keyring
  libkf5wallet-bin gir1.2-gnomekeyring-1.0 python-secretstorage-doc
  python-setuptools-doc python3.6-venv python3.6-doc binfmt-support
The following NEW packages will be installed:
  build-essential ca-certificates dbus dh-python dirmngr dpkg-dev fakeroot
  gir1.2-glib-2.0 gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client
  gpg-wks-server gpgconf gpgsm libalgorithm-diff-perl
  libalgorithm-diff-xs-perl libalgorithm-merge-perl libassuan0 libdpkg-perl
  libexpat1-dev libfakeroot libfile-fcntllock-perl libgirepository-1.0-1
  libksba8 libnpth0 libpython3-dev libpython3.6 libpython3.6-dev openssl patch
  pinentry-curses python-pip-whl python3-asn1crypto python3-cffi-backend
  python3-crypto python3-cryptography python3-dbus python3-dev python3-gi
  python3-idna python3-keyring python3-keyrings.alt python3-pip
  python3-pkg-resources python3-secretstorage python3-setuptools python3-six
  python3-wheel python3-xdg python3.6-dev xz-utils
The following packages will be upgraded:
  gpgv libdbus-1-3 libexpat1 libpython3.6-minimal libpython3.6-stdlib
  python3.6 python3.6-minimal
7 upgraded, 54 newly installed, 0 to remove and 48 not upgraded.
Need to get 58.3 MB of archives.
After this operation, 106 MB of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 python3.6 arm64 3.6.9-1~18.04ubuntu1.8 [203 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libpython3.6-stdlib arm64 3.6.9-1~18.04ubuntu1.8 [1609 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 python3.6-minimal arm64 3.6.9-1~18.04ubuntu1.8 [1327 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libpython3.6-minimal arm64 3.6.9-1~18.04ubuntu1.8 [529 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libexpat1 arm64 2.2.5-3ubuntu0.7 [70.2 kB]
Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 gpgv arm64 2.2.4-1ubuntu1.6 [167 kB]
Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 openssl arm64 1.1.1-1ubuntu2.1~18.04.20 [583 kB]
Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 ca-certificates all 20211016~18.04.1 [144 kB]
Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libdbus-1-3 arm64 1.12.2-1ubuntu1.3 [152 kB]
Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 dbus arm64 1.12.2-1ubuntu1.3 [130 kB]
Get:11 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgirepository-1.0-1 arm64 1.56.1-1 [67.1 kB]
Get:12 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 gir1.2-glib-2.0 arm64 1.56.1-1 [131 kB]
Get:13 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 python3-dbus arm64 1.2.6-1 [84.3 kB]
Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 python3-gi arm64 3.26.1-2ubuntu1 [137 kB]
Get:15 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 xz-utils arm64 5.2.2-1.3ubuntu0.1 [79.8 kB]
Get:16 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libdpkg-perl all 1.19.0.5ubuntu2.4 [212 kB]
Get:17 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB]
Get:18 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 dpkg-dev all 1.19.0.5ubuntu2.4 [607 kB]
Get:19 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 build-essential arm64 12.4ubuntu1 [4754 B]
Get:20 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 dh-python all 3.20180325ubuntu2 [89.2 kB]
Get:21 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libassuan0 arm64 2.5.1-2 [28.9 kB]
Get:22 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 gpgconf arm64 2.2.4-1ubuntu1.6 [107 kB]
Get:23 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libksba8 arm64 1.3.5-2 [77.4 kB]
Get:24 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libnpth0 arm64 1.5-3 [6844 B]
Get:25 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 dirmngr arm64 2.2.4-1ubuntu1.6 [276 kB]
Get:26 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libfakeroot arm64 1.22-2ubuntu1 [21.8 kB]
Get:27 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 fakeroot arm64 1.22-2ubuntu1 [59.9 kB]
Get:28 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 gnupg-l10n all 2.2.4-1ubuntu1.6 [50.1 kB]
Get:29 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 gnupg-utils arm64 2.2.4-1ubuntu1.6 [108 kB]
Get:30 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 gpg arm64 2.2.4-1ubuntu1.6 [401 kB]
Get:31 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 pinentry-curses arm64 1.1.0-1 [32.4 kB]
Get:32 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 gpg-agent arm64 2.2.4-1ubuntu1.6 [189 kB]
Get:33 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 gpg-wks-client arm64 2.2.4-1ubuntu1.6 [76.6 kB]
Get:34 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 gpg-wks-server arm64 2.2.4-1ubuntu1.6 [71.6 kB]
Get:35 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 gpgsm arm64 2.2.4-1ubuntu1.6 [181 kB]
Get:36 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 gnupg arm64 2.2.4-1ubuntu1.6 [249 kB]
Get:37 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libalgorithm-diff-perl all 1.19.03-1 [47.6 kB]
Get:38 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libalgorithm-diff-xs-perl arm64 0.04-5 [10.8 kB]
Get:39 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libalgorithm-merge-perl all 0.08-3 [12.0 kB]
Get:40 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libexpat1-dev arm64 2.2.5-3ubuntu0.7 [111 kB]
Get:41 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libfile-fcntllock-perl arm64 0.22-3build2 [33.0 kB]
Get:42 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libpython3.6 arm64 3.6.9-1~18.04ubuntu1.8 [1307 kB]
Get:43 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libpython3.6-dev arm64 3.6.9-1~18.04ubuntu1.8 [45.1 MB]
Get:44 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libpython3-dev arm64 3.6.7-1~18.04 [7328 B]
Get:45 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 python-pip-whl all 9.0.1-2.3~ubuntu1.18.04.5 [1653 kB]
Get:46 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 python3-asn1crypto all 0.24.0-1 [72.8 kB]
Get:47 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 python3-cffi-backend arm64 1.11.5-1 [60.0 kB]
Get:48 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 python3-crypto arm64 2.6.1-8ubuntu2 [240 kB]
Get:49 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 python3-idna all 2.6-1 [32.5 kB]
Get:50 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 python3-six all 1.11.0-2 [11.4 kB]
Get:51 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 python3-cryptography arm64 2.1.4-1ubuntu1.4 [176 kB]
Get:52 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 python3.6-dev arm64 3.6.9-1~18.04ubuntu1.8 [512 kB]
Get:53 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 python3-dev arm64 3.6.7-1~18.04 [1288 B]
Get:54 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 python3-secretstorage all 2.3.1-2 [12.1 kB]
Get:55 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 python3-keyring all 10.6.0-1 [26.7 kB]
Get:56 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 python3-keyrings.alt all 3.0-1 [16.6 kB]
Get:57 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 python3-pip all 9.0.1-2.3~ubuntu1.18.04.5 [114 kB]
Get:58 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 python3-pkg-resources all 39.0.1-2 [98.8 kB]
Get:59 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 python3-setuptools all 39.0.1-2 [248 kB]
Get:60 http://ports.ubuntu.com/ubuntu-ports bionic/universe arm64 python3-wheel all 0.30.0-0.2 [36.5 kB]
Get:61 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 python3-xdg all 0.25-4ubuntu1.1 [31.3 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 58.3 MB in 5s (12.0 MB/s)
(Reading database ... 32144 files and directories currently installed.)
Preparing to unpack .../0-python3.6_3.6.9-1~18.04ubuntu1.8_arm64.deb ...
Unpacking python3.6 (3.6.9-1~18.04ubuntu1.8) over (3.6.9-1~18.04ubuntu1.4) ...
Preparing to unpack .../1-libpython3.6-stdlib_3.6.9-1~18.04ubuntu1.8_arm64.deb ...
Unpacking libpython3.6-stdlib:arm64 (3.6.9-1~18.04ubuntu1.8) over (3.6.9-1~18.04ubuntu1.4) ...
Preparing to unpack .../2-python3.6-minimal_3.6.9-1~18.04ubuntu1.8_arm64.deb ...
Unpacking python3.6-minimal (3.6.9-1~18.04ubuntu1.8) over (3.6.9-1~18.04ubuntu1.4) ...
Preparing to unpack .../3-libpython3.6-minimal_3.6.9-1~18.04ubuntu1.8_arm64.deb ...
Unpacking libpython3.6-minimal:arm64 (3.6.9-1~18.04ubuntu1.8) over (3.6.9-1~18.04ubuntu1.4) ...
Preparing to unpack .../4-libexpat1_2.2.5-3ubuntu0.7_arm64.deb ...
Unpacking libexpat1:arm64 (2.2.5-3ubuntu0.7) over (2.2.5-3ubuntu0.2) ...
Preparing to unpack .../5-gpgv_2.2.4-1ubuntu1.6_arm64.deb ...
Unpacking gpgv (2.2.4-1ubuntu1.6) over (2.2.4-1ubuntu1.4) ...
Setting up gpgv (2.2.4-1ubuntu1.6) ...
Selecting previously unselected package openssl.
(Reading database ... 32144 files and directories currently installed.)
Preparing to unpack .../00-openssl_1.1.1-1ubuntu2.1~18.04.20_arm64.deb ...
Unpacking openssl (1.1.1-1ubuntu2.1~18.04.20) ...
Selecting previously unselected package ca-certificates.
Preparing to unpack .../01-ca-certificates_20211016~18.04.1_all.deb ...
Unpacking ca-certificates (20211016~18.04.1) ...
Preparing to unpack .../02-libdbus-1-3_1.12.2-1ubuntu1.3_arm64.deb ...
Unpacking libdbus-1-3:arm64 (1.12.2-1ubuntu1.3) over (1.12.2-1ubuntu1.2) ...
Selecting previously unselected package dbus.
Preparing to unpack .../03-dbus_1.12.2-1ubuntu1.3_arm64.deb ...
Unpacking dbus (1.12.2-1ubuntu1.3) ...
Selecting previously unselected package libgirepository-1.0-1:arm64.
Preparing to unpack .../04-libgirepository-1.0-1_1.56.1-1_arm64.deb ...
Unpacking libgirepository-1.0-1:arm64 (1.56.1-1) ...
Selecting previously unselected package gir1.2-glib-2.0:arm64.
Preparing to unpack .../05-gir1.2-glib-2.0_1.56.1-1_arm64.deb ...
Unpacking gir1.2-glib-2.0:arm64 (1.56.1-1) ...
Selecting previously unselected package python3-dbus.
Preparing to unpack .../06-python3-dbus_1.2.6-1_arm64.deb ...
Unpacking python3-dbus (1.2.6-1) ...
Selecting previously unselected package python3-gi.
Preparing to unpack .../07-python3-gi_3.26.1-2ubuntu1_arm64.deb ...
Unpacking python3-gi (3.26.1-2ubuntu1) ...
Selecting previously unselected package xz-utils.
Preparing to unpack .../08-xz-utils_5.2.2-1.3ubuntu0.1_arm64.deb ...
Unpacking xz-utils (5.2.2-1.3ubuntu0.1) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../09-libdpkg-perl_1.19.0.5ubuntu2.4_all.deb ...
Unpacking libdpkg-perl (1.19.0.5ubuntu2.4) ...
Selecting previously unselected package patch.
Preparing to unpack .../10-patch_2.7.6-2ubuntu1.1_arm64.deb ...
Unpacking patch (2.7.6-2ubuntu1.1) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../11-dpkg-dev_1.19.0.5ubuntu2.4_all.deb ...
Unpacking dpkg-dev (1.19.0.5ubuntu2.4) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../12-build-essential_12.4ubuntu1_arm64.deb ...
Unpacking build-essential (12.4ubuntu1) ...
Selecting previously unselected package dh-python.
Preparing to unpack .../13-dh-python_3.20180325ubuntu2_all.deb ...
Unpacking dh-python (3.20180325ubuntu2) ...
Selecting previously unselected package libassuan0:arm64.
Preparing to unpack .../14-libassuan0_2.5.1-2_arm64.deb ...
Unpacking libassuan0:arm64 (2.5.1-2) ...
Selecting previously unselected package gpgconf.
Preparing to unpack .../15-gpgconf_2.2.4-1ubuntu1.6_arm64.deb ...
Unpacking gpgconf (2.2.4-1ubuntu1.6) ...
Selecting previously unselected package libksba8:arm64.
Preparing to unpack .../16-libksba8_1.3.5-2_arm64.deb ...
Unpacking libksba8:arm64 (1.3.5-2) ...
Selecting previously unselected package libnpth0:arm64.
Preparing to unpack .../17-libnpth0_1.5-3_arm64.deb ...
Unpacking libnpth0:arm64 (1.5-3) ...
Selecting previously unselected package dirmngr.
Preparing to unpack .../18-dirmngr_2.2.4-1ubuntu1.6_arm64.deb ...
Unpacking dirmngr (2.2.4-1ubuntu1.6) ...
Selecting previously unselected package libfakeroot:arm64.
Preparing to unpack .../19-libfakeroot_1.22-2ubuntu1_arm64.deb ...
Unpacking libfakeroot:arm64 (1.22-2ubuntu1) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../20-fakeroot_1.22-2ubuntu1_arm64.deb ...
Unpacking fakeroot (1.22-2ubuntu1) ...
Selecting previously unselected package gnupg-l10n.
Preparing to unpack .../21-gnupg-l10n_2.2.4-1ubuntu1.6_all.deb ...
Unpacking gnupg-l10n (2.2.4-1ubuntu1.6) ...
Selecting previously unselected package gnupg-utils.
Preparing to unpack .../22-gnupg-utils_2.2.4-1ubuntu1.6_arm64.deb ...
Unpacking gnupg-utils (2.2.4-1ubuntu1.6) ...
Selecting previously unselected package gpg.
Preparing to unpack .../23-gpg_2.2.4-1ubuntu1.6_arm64.deb ...
Unpacking gpg (2.2.4-1ubuntu1.6) ...
Selecting previously unselected package pinentry-curses.
Preparing to unpack .../24-pinentry-curses_1.1.0-1_arm64.deb ...
Unpacking pinentry-curses (1.1.0-1) ...
Selecting previously unselected package gpg-agent.
Preparing to unpack .../25-gpg-agent_2.2.4-1ubuntu1.6_arm64.deb ...
Unpacking gpg-agent (2.2.4-1ubuntu1.6) ...
Selecting previously unselected package gpg-wks-client.
Preparing to unpack .../26-gpg-wks-client_2.2.4-1ubuntu1.6_arm64.deb ...
Unpacking gpg-wks-client (2.2.4-1ubuntu1.6) ...
Selecting previously unselected package gpg-wks-server.
Preparing to unpack .../27-gpg-wks-server_2.2.4-1ubuntu1.6_arm64.deb ...
Unpacking gpg-wks-server (2.2.4-1ubuntu1.6) ...
Selecting previously unselected package gpgsm.
Preparing to unpack .../28-gpgsm_2.2.4-1ubuntu1.6_arm64.deb ...
Unpacking gpgsm (2.2.4-1ubuntu1.6) ...
Selecting previously unselected package gnupg.
Preparing to unpack .../29-gnupg_2.2.4-1ubuntu1.6_arm64.deb ...
Unpacking gnupg (2.2.4-1ubuntu1.6) ...
Selecting previously unselected package libalgorithm-diff-perl.
Preparing to unpack .../30-libalgorithm-diff-perl_1.19.03-1_all.deb ...
Unpacking libalgorithm-diff-perl (1.19.03-1) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Preparing to unpack .../31-libalgorithm-diff-xs-perl_0.04-5_arm64.deb ...
Unpacking libalgorithm-diff-xs-perl (0.04-5) ...
Selecting previously unselected package libalgorithm-merge-perl.
Preparing to unpack .../32-libalgorithm-merge-perl_0.08-3_all.deb ...
Unpacking libalgorithm-merge-perl (0.08-3) ...
Selecting previously unselected package libexpat1-dev:arm64.
Preparing to unpack .../33-libexpat1-dev_2.2.5-3ubuntu0.7_arm64.deb ...
Unpacking libexpat1-dev:arm64 (2.2.5-3ubuntu0.7) ...
Selecting previously unselected package libfile-fcntllock-perl.
Preparing to unpack .../34-libfile-fcntllock-perl_0.22-3build2_arm64.deb ...
Unpacking libfile-fcntllock-perl (0.22-3build2) ...
Selecting previously unselected package libpython3.6:arm64.
Preparing to unpack .../35-libpython3.6_3.6.9-1~18.04ubuntu1.8_arm64.deb ...
Unpacking libpython3.6:arm64 (3.6.9-1~18.04ubuntu1.8) ...
Selecting previously unselected package libpython3.6-dev:arm64.
Preparing to unpack .../36-libpython3.6-dev_3.6.9-1~18.04ubuntu1.8_arm64.deb ...
Unpacking libpython3.6-dev:arm64 (3.6.9-1~18.04ubuntu1.8) ...
Selecting previously unselected package libpython3-dev:arm64.
Preparing to unpack .../37-libpython3-dev_3.6.7-1~18.04_arm64.deb ...
Unpacking libpython3-dev:arm64 (3.6.7-1~18.04) ...
Selecting previously unselected package python-pip-whl.
Preparing to unpack .../38-python-pip-whl_9.0.1-2.3~ubuntu1.18.04.5_all.deb ...
Unpacking python-pip-whl (9.0.1-2.3~ubuntu1.18.04.5) ...
Selecting previously unselected package python3-asn1crypto.
Preparing to unpack .../39-python3-asn1crypto_0.24.0-1_all.deb ...
Unpacking python3-asn1crypto (0.24.0-1) ...
Selecting previously unselected package python3-cffi-backend.
Preparing to unpack .../40-python3-cffi-backend_1.11.5-1_arm64.deb ...
Unpacking python3-cffi-backend (1.11.5-1) ...
Selecting previously unselected package python3-crypto.
Preparing to unpack .../41-python3-crypto_2.6.1-8ubuntu2_arm64.deb ...
Unpacking python3-crypto (2.6.1-8ubuntu2) ...
Selecting previously unselected package python3-idna.
Preparing to unpack .../42-python3-idna_2.6-1_all.deb ...
Unpacking python3-idna (2.6-1) ...
Selecting previously unselected package python3-six.
Preparing to unpack .../43-python3-six_1.11.0-2_all.deb ...
Unpacking python3-six (1.11.0-2) ...
Selecting previously unselected package python3-cryptography.
Preparing to unpack .../44-python3-cryptography_2.1.4-1ubuntu1.4_arm64.deb ...
Unpacking python3-cryptography (2.1.4-1ubuntu1.4) ...
Selecting previously unselected package python3.6-dev.
Preparing to unpack .../45-python3.6-dev_3.6.9-1~18.04ubuntu1.8_arm64.deb ...
Unpacking python3.6-dev (3.6.9-1~18.04ubuntu1.8) ...
Selecting previously unselected package python3-dev.
Preparing to unpack .../46-python3-dev_3.6.7-1~18.04_arm64.deb ...
Unpacking python3-dev (3.6.7-1~18.04) ...
Selecting previously unselected package python3-secretstorage.
Preparing to unpack .../47-python3-secretstorage_2.3.1-2_all.deb ...
Unpacking python3-secretstorage (2.3.1-2) ...
Selecting previously unselected package python3-keyring.
Preparing to unpack .../48-python3-keyring_10.6.0-1_all.deb ...
Unpacking python3-keyring (10.6.0-1) ...
Selecting previously unselected package python3-keyrings.alt.
Preparing to unpack .../49-python3-keyrings.alt_3.0-1_all.deb ...
Unpacking python3-keyrings.alt (3.0-1) ...
Selecting previously unselected package python3-pip.
Preparing to unpack .../50-python3-pip_9.0.1-2.3~ubuntu1.18.04.5_all.deb ...
Unpacking python3-pip (9.0.1-2.3~ubuntu1.18.04.5) ...
Selecting previously unselected package python3-pkg-resources.
Preparing to unpack .../51-python3-pkg-resources_39.0.1-2_all.deb ...
Unpacking python3-pkg-resources (39.0.1-2) ...
Selecting previously unselected package python3-setuptools.
Preparing to unpack .../52-python3-setuptools_39.0.1-2_all.deb ...
Unpacking python3-setuptools (39.0.1-2) ...
Selecting previously unselected package python3-wheel.
Preparing to unpack .../53-python3-wheel_0.30.0-0.2_all.deb ...
Unpacking python3-wheel (0.30.0-0.2) ...
Selecting previously unselected package python3-xdg.
Preparing to unpack .../54-python3-xdg_0.25-4ubuntu1.1_all.deb ...
Unpacking python3-xdg (0.25-4ubuntu1.1) ...
Setting up libnpth0:arm64 (1.5-3) ...
Setting up libexpat1:arm64 (2.2.5-3ubuntu0.7) ...
Setting up python3-cffi-backend (1.11.5-1) ...
Setting up python3-crypto (2.6.1-8ubuntu2) ...
Setting up python3-idna (2.6-1) ...
Setting up python3-xdg (0.25-4ubuntu1.1) ...
Setting up python3-six (1.11.0-2) ...
Setting up libdpkg-perl (1.19.0.5ubuntu2.4) ...
Setting up libksba8:arm64 (1.3.5-2) ...
Setting up python3-wheel (0.30.0-0.2) ...
Setting up python3-pkg-resources (39.0.1-2) ...
Setting up libgirepository-1.0-1:arm64 (1.56.1-1) ...
Setting up gnupg-l10n (2.2.4-1ubuntu1.6) ...
Setting up libpython3.6-minimal:arm64 (3.6.9-1~18.04ubuntu1.8) ...
Setting up python3-asn1crypto (0.24.0-1) ...
Setting up libfile-fcntllock-perl (0.22-3build2) ...
Setting up gir1.2-glib-2.0:arm64 (1.56.1-1) ...
Setting up patch (2.7.6-2ubuntu1.1) ...
Setting up xz-utils (5.2.2-1.3ubuntu0.1) ...
update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/lzma.1.gz because associated file /usr/share/man/man1/xz.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/unlzma.1.gz because associated file /usr/share/man/man1/unxz.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzcat.1.gz because associated file /usr/share/man/man1/xzcat.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzmore.1.gz because associated file /usr/share/man/man1/xzmore.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzless.1.gz because associated file /usr/share/man/man1/xzless.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzdiff.1.gz because associated file /usr/share/man/man1/xzdiff.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzcmp.1.gz because associated file /usr/share/man/man1/xzcmp.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzgrep.1.gz because associated file /usr/share/man/man1/xzgrep.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzegrep.1.gz because associated file /usr/share/man/man1/xzegrep.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzfgrep.1.gz because associated file /usr/share/man/man1/xzfgrep.1.gz (of link group lzma) doesn't exist
Setting up libfakeroot:arm64 (1.22-2ubuntu1) ...
Setting up openssl (1.1.1-1ubuntu2.1~18.04.20) ...
Setting up libalgorithm-diff-perl (1.19.03-1) ...
Setting up libexpat1-dev:arm64 (2.2.5-3ubuntu0.7) ...
Setting up python3-setuptools (39.0.1-2) ...
Setting up ca-certificates (20211016~18.04.1) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Updating certificates in /etc/ssl/certs...
127 added, 0 removed; done.
Setting up dh-python (3.20180325ubuntu2) ...
Setting up libassuan0:arm64 (2.5.1-2) ...
Setting up libdbus-1-3:arm64 (1.12.2-1ubuntu1.3) ...
Setting up python3-cryptography (2.1.4-1ubuntu1.4) ...
Setting up python-pip-whl (9.0.1-2.3~ubuntu1.18.04.5) ...
Setting up libpython3.6-stdlib:arm64 (3.6.9-1~18.04ubuntu1.8) ...
Setting up python3-dbus (1.2.6-1) ...
Setting up gpgconf (2.2.4-1ubuntu1.6) ...
Setting up python3-keyrings.alt (3.0-1) ...
Setting up python3.6-minimal (3.6.9-1~18.04ubuntu1.8) ...
Setting up python3-gi (3.26.1-2ubuntu1) ...
Setting up fakeroot (1.22-2ubuntu1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/fakeroot.1.gz because associated file /usr/share/man/man1/fakeroot-sysv.1.gz (of link group fakeroot) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/faked.1.gz because associated file /usr/share/man/man1/faked-sysv.1.gz (of link group fakeroot) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/es/man1/fakeroot.1.gz because associated file /usr/share/man/es/man1/fakeroot-sysv.1.gz (of link group fakeroot) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/es/man1/faked.1.gz because associated file /usr/share/man/es/man1/faked-sysv.1.gz (of link group fakeroot) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/fr/man1/fakeroot.1.gz because associated file /usr/share/man/fr/man1/fakeroot-sysv.1.gz (of link group fakeroot) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/fr/man1/faked.1.gz because associated file /usr/share/man/fr/man1/faked-sysv.1.gz (of link group fakeroot) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/sv/man1/fakeroot.1.gz because associated file /usr/share/man/sv/man1/fakeroot-sysv.1.gz (of link group fakeroot) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/sv/man1/faked.1.gz because associated file /usr/share/man/sv/man1/faked-sysv.1.gz (of link group fakeroot) doesn't exist
Setting up libalgorithm-merge-perl (0.08-3) ...
Setting up dpkg-dev (1.19.0.5ubuntu2.4) ...
Setting up libalgorithm-diff-xs-perl (0.04-5) ...
Setting up gpgsm (2.2.4-1ubuntu1.6) ...
Setting up python3-pip (9.0.1-2.3~ubuntu1.18.04.5) ...
Setting up gnupg-utils (2.2.4-1ubuntu1.6) ...
Setting up pinentry-curses (1.1.0-1) ...
Setting up dbus (1.12.2-1ubuntu1.3) ...
Setting up python3-secretstorage (2.3.1-2) ...
Setting up dirmngr (2.2.4-1ubuntu1.6) ...
Setting up gpg (2.2.4-1ubuntu1.6) ...
Setting up libpython3.6:arm64 (3.6.9-1~18.04ubuntu1.8) ...
Setting up python3.6 (3.6.9-1~18.04ubuntu1.8) ...
Setting up python3-keyring (10.6.0-1) ...
Setting up build-essential (12.4ubuntu1) ...
Setting up gpg-agent (2.2.4-1ubuntu1.6) ...
Setting up gpg-wks-server (2.2.4-1ubuntu1.6) ...
Setting up gpg-wks-client (2.2.4-1ubuntu1.6) ...
Setting up libpython3.6-dev:arm64 (3.6.9-1~18.04ubuntu1.8) ...
Setting up python3.6-dev (3.6.9-1~18.04ubuntu1.8) ...
Setting up libpython3-dev:arm64 (3.6.7-1~18.04) ...
Setting up gnupg (2.2.4-1ubuntu1.6) ...
Setting up python3-dev (3.6.7-1~18.04) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for libc-bin (2.27-3ubuntu1.4) ...
Processing triggers for ca-certificates (20211016~18.04.1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Collecting numpy
  Downloading https://files.pythonhosted.org/packages/51/60/3f0fe5b7675a461d96b9d6729beecd3532565743278a9c3fe6dd09697fa7/numpy-1.19.5.zip (7.3MB)
Collecting Cython
  Downloading https://files.pythonhosted.org/packages/1c/24/e3935e545b128a90146e743212703420287ed35885074a9f36b21f3bb68d/Cython-0.29.32-py2.py3-none-any.whl (986kB)
Collecting pycuda==2020.1
  Downloading https://files.pythonhosted.org/packages/46/61/47d3235a4c13eec5a5f03594ddb268f4858734e02980afbcd806e6242fa5/pycuda-2020.1.tar.gz (1.6MB)
    Complete output from command python setup.py egg_info:
    *************************************************************
    *** I have detected that you have not run configure.py.
    *************************************************************
    *** Additionally, no global config files were found.
    *** I will go ahead with the default configuration.
    *** In all likelihood, this will not work out.
    ***
    *** See README_SETUP.txt for more information.
    ***
    *** If the build does fail, just re-run configure.py with the
    *** correct arguments, and then retry. Good luck!
    *************************************************************
    *** HIT Ctrl-C NOW IF THIS IS NOT WHAT YOU WANT
    *************************************************************
    Continuing in 1 seconds...    
    ---------------------------------------------------------------------------
    Sorry, your build failed. Try rerunning configure.py with different options.
    ---------------------------------------------------------------------------
    Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 154, in save_modules
        yield saved
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 195, in setup_context
        yield
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 250, in run_setup
        _execfile(setup_script, ns)
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 45, in _execfile
        exec(code, globals, locals)
      File "/tmp/easy_install-v3pf9mgj/numpy-1.23.1/setup.py", line 39, in <module>
        cxxflags_default = []
    RuntimeError: Python version >= 3.8 required.
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-g_g3t4q4/pycuda/setup.py", line 255, in <module>
        main()
      File "/tmp/pip-build-g_g3t4q4/pycuda/setup.py", line 251, in main
        zip_safe=False)
      File "/tmp/pip-build-g_g3t4q4/pycuda/aksetup_helper.py", line 24, in setup
        setup(*args, **kwargs)
      File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 128, in setup
        _install_setup_requires(attrs)
      File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 123, in _install_setup_requires
        dist.fetch_build_eggs(dist.setup_requires)
      File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 513, in fetch_build_eggs
        replace_conflicting=True,
      File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 774, in resolve
        replace_conflicting=replace_conflicting
      File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1057, in best_match
        return self.obtain(req, installer)
      File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1069, in obtain
        return installer(requirement)
      File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 580, in fetch_build_egg
        return cmd.easy_install(req)
      File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 698, in easy_install
        return self.install_item(spec, dist.location, tmpdir, deps)
      File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 724, in install_item
        dists = self.install_eggs(spec, download, tmpdir)
      File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 909, in install_eggs
        return self.build_and_install(setup_script, setup_base)
      File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1177, in build_and_install
        self.run_setup(setup_script, setup_base, args)
      File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1163, in run_setup
        run_setup(setup_script, args)
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 253, in run_setup
        raise
      File "/usr/lib/python3.6/contextlib.py", line 99, in __exit__
        self.gen.throw(type, value, traceback)
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 195, in setup_context
        yield
      File "/usr/lib/python3.6/contextlib.py", line 99, in __exit__
        self.gen.throw(type, value, traceback)
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 166, in save_modules
        saved_exc.resume()
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 141, in resume
        six.reraise(type, exc, self._tb)
      File "/usr/lib/python3/dist-packages/setuptools/_vendor/six.py", line 685, in reraise
        raise value.with_traceback(tb)
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 154, in save_modules
        yield saved
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 195, in setup_context
        yield
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 250, in run_setup
        _execfile(setup_script, ns)
      File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 45, in _execfile
        exec(code, globals, locals)
      File "/tmp/easy_install-v3pf9mgj/numpy-1.23.1/setup.py", line 39, in <module>
        cxxflags_default = []
    RuntimeError: Python version >= 3.8 required.
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-g_g3t4q4/pycuda/
The command '/bin/sh -c apt-get install --assume-yes python3-pip && pip3 install numpy     Cython     pycuda==2020.1' returned a non-zero code: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions