Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    ERROR: cookiecutter 1.7.2 has requirement requests>=2.23.0, but you'll have requests 2.22.0 which is incompatible.

    App Development
    2
    3
    812
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      matty00 last edited by

      When I'm following the installation instructions from clickable here https://clickable-ut.dev/en/latest/ then I get the error message "ERROR: cookiecutter 1.7.2 has requirement requests>=2.23.0, but you'll have requests 2.22.0 which is incompatible."

      Question: Will I be able to build clickable apps anyway or is this a showstopper?

      Install log from my Ubuntu 20.04 box a few minutes ago:

      1. Install docker, adb, git, python3 and pip3
        Result: Ok
      $ sudo apt install docker.io adb git python3 python3-pip
      Reading package lists... Done
      Building dependency tree       
      Reading state information... Done
      python3 is already the newest version (3.8.2-0ubuntu2).
      python3 set to manually installed.
      adb is already the newest version (1:8.1.0+r23-5ubuntu2).
      adb set to manually installed.
      python3-pip is already the newest version (20.0.2-5ubuntu1.1).
      The following additional packages will be installed:
        bridge-utils cgroupfs-mount containerd git-man liberror-perl pigz runc ubuntu-fan
      Suggested packages:
        ifupdown aufs-tools btrfs-progs debootstrap docker-doc rinse zfs-fuse | zfsutils git-daemon-run | git-daemon-sysvinit git-doc git-el
        git-email git-gui gitk gitweb git-cvs git-mediawiki git-svn
      The following NEW packages will be installed
        bridge-utils cgroupfs-mount containerd docker.io git git-man liberror-perl pigz runc ubuntu-fan
      0 to upgrade, 10 to newly install, 0 to remove and 3 not to upgrade.
      Need to get 74.8 MB of archives.
      After this operation, 372 MB of additional disk space will be used.
      Do you want to continue? [Y/n] 
      Get:1 http://gb.archive.ubuntu.com/ubuntu focal/universe amd64 pigz amd64 2.4-1 [57.4 kB]
      Get:2 http://gb.archive.ubuntu.com/ubuntu focal/main amd64 bridge-utils amd64 1.6-2ubuntu1 [30.5 kB]
      Get:3 http://gb.archive.ubuntu.com/ubuntu focal/universe amd64 cgroupfs-mount all 1.4 [6,320 B]
      Get:4 http://gb.archive.ubuntu.com/ubuntu focal/main amd64 runc amd64 1.0.0~rc10-0ubuntu1 [2,549 kB]
      Get:5 http://gb.archive.ubuntu.com/ubuntu focal/main amd64 containerd amd64 1.3.3-0ubuntu2 [27.8 MB]                                     
      Get:6 http://gb.archive.ubuntu.com/ubuntu focal-updates/universe amd64 docker.io amd64 19.03.8-0ubuntu1.20.04.1 [38.9 MB]                
      Get:7 http://gb.archive.ubuntu.com/ubuntu focal/main amd64 liberror-perl all 0.17029-1 [26.5 kB]                                         
      Get:8 http://gb.archive.ubuntu.com/ubuntu focal/main amd64 git-man all 1:2.25.1-1ubuntu3 [884 kB]                                        
      Get:9 http://gb.archive.ubuntu.com/ubuntu focal/main amd64 git amd64 1:2.25.1-1ubuntu3 [4,554 kB]                                        
      Get:10 http://gb.archive.ubuntu.com/ubuntu focal/main amd64 ubuntu-fan all 0.12.13 [34.5 kB]                                             
      Fetched 74.8 MB in 3min 33s (350 kB/s)                                                                                                   
      Preconfiguring packages ...
      Selecting previously unselected package pigz.
      (Reading database ... 213972 files and directories currently installed.)
      Preparing to unpack .../0-pigz_2.4-1_amd64.deb ...
      Unpacking pigz (2.4-1) ...
      Selecting previously unselected package bridge-utils.
      Preparing to unpack .../1-bridge-utils_1.6-2ubuntu1_amd64.deb ...
      Unpacking bridge-utils (1.6-2ubuntu1) ...
      Selecting previously unselected package cgroupfs-mount.
      Preparing to unpack .../2-cgroupfs-mount_1.4_all.deb ...
      Unpacking cgroupfs-mount (1.4) ...
      Selecting previously unselected package runc.
      Preparing to unpack .../3-runc_1.0.0~rc10-0ubuntu1_amd64.deb ...
      Unpacking runc (1.0.0~rc10-0ubuntu1) ...
      Selecting previously unselected package containerd.
      Preparing to unpack .../4-containerd_1.3.3-0ubuntu2_amd64.deb ...
      Unpacking containerd (1.3.3-0ubuntu2) ...
      Selecting previously unselected package docker.io.
      Preparing to unpack .../5-docker.io_19.03.8-0ubuntu1.20.04.1_amd64.deb ...
      Unpacking docker.io (19.03.8-0ubuntu1.20.04.1) ...
      Selecting previously unselected package liberror-perl.
      Preparing to unpack .../6-liberror-perl_0.17029-1_all.deb ...
      Unpacking liberror-perl (0.17029-1) ...
      Selecting previously unselected package git-man.
      Preparing to unpack .../7-git-man_1%3a2.25.1-1ubuntu3_all.deb ...
      Unpacking git-man (1:2.25.1-1ubuntu3) ...
      Selecting previously unselected package git.
      Preparing to unpack .../8-git_1%3a2.25.1-1ubuntu3_amd64.deb ...
      Unpacking git (1:2.25.1-1ubuntu3) ...
      Selecting previously unselected package ubuntu-fan.
      Preparing to unpack .../9-ubuntu-fan_0.12.13_all.deb ...
      Unpacking ubuntu-fan (0.12.13) ...
      Setting up runc (1.0.0~rc10-0ubuntu1) ...
      Setting up liberror-perl (0.17029-1) ...
      Setting up bridge-utils (1.6-2ubuntu1) ...
      Setting up pigz (2.4-1) ...
      Setting up git-man (1:2.25.1-1ubuntu3) ...
      Setting up cgroupfs-mount (1.4) ...
      Setting up containerd (1.3.3-0ubuntu2) ...
      Created symlink /etc/systemd/system/multi-user.target.wants/containerd.service → /lib/systemd/system/containerd.service.
      Setting up ubuntu-fan (0.12.13) ...
      Created symlink /etc/systemd/system/multi-user.target.wants/ubuntu-fan.service → /lib/systemd/system/ubuntu-fan.service.
      Setting up docker.io (19.03.8-0ubuntu1.20.04.1) ...
      Adding group `docker' (GID 135) ...
      Done.
      Created symlink /etc/systemd/system/sockets.target.wants/docker.socket → /lib/systemd/system/docker.socket.
      docker.service is a disabled or a static unit, not starting it.
      Setting up git (1:2.25.1-1ubuntu3) ...
      Processing triggers for man-db (2.9.1-1) ...
      Processing triggers for systemd (245.4-4ubuntu3.3) ...
      
      1. Run: pip3 install --user --upgrade clickable-ut
        Result: Error
      $ pip3 install --user --upgrade clickable-ut
      Collecting clickable-ut
        Downloading clickable_ut-6.20.1-py3-none-any.whl (116 kB)
           |████████████████████████████████| 116 kB 154 kB/s 
      Collecting jsonschema
        Downloading jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
           |████████████████████████████████| 56 kB 193 kB/s 
      Requirement already satisfied, skipping upgrade: requests in /usr/lib/python3/dist-packages (from clickable-ut) (2.22.0)
      Collecting cookiecutter
        Downloading cookiecutter-1.7.2-py2.py3-none-any.whl (34 kB)
      Collecting pyrsistent>=0.14.0
        Downloading pyrsistent-0.17.3.tar.gz (106 kB)
           |████████████████████████████████| 106 kB 207 kB/s 
      Collecting attrs>=17.4.0
        Downloading attrs-20.3.0-py2.py3-none-any.whl (49 kB)
           |████████████████████████████████| 49 kB 157 kB/s 
      Requirement already satisfied, skipping upgrade: setuptools in /usr/lib/python3/dist-packages (from jsonschema->clickable-ut) (45.2.0)
      Requirement already satisfied, skipping upgrade: six>=1.11.0 in /usr/lib/python3/dist-packages (from jsonschema->clickable-ut) (1.14.0)
      Collecting binaryornot>=0.4.4
        Downloading binaryornot-0.4.4-py2.py3-none-any.whl (9.0 kB)
      Requirement already satisfied, skipping upgrade: MarkupSafe<2.0.0 in /usr/lib/python3/dist-packages (from cookiecutter->clickable-ut) (1.1.0)
      Collecting poyo>=0.5.0
        Downloading poyo-0.5.0-py2.py3-none-any.whl (10 kB)
      Collecting jinja2-time>=0.2.0
        Downloading jinja2_time-0.2.0-py2.py3-none-any.whl (6.4 kB)
      Collecting python-slugify>=4.0.0
        Downloading python-slugify-4.0.1.tar.gz (11 kB)
      Requirement already satisfied, skipping upgrade: Jinja2<3.0.0 in /usr/local/lib/python3.8/dist-packages (from cookiecutter->clickable-ut) (2.11.2)
      Requirement already satisfied, skipping upgrade: click>=7.0 in /usr/lib/python3/dist-packages (from cookiecutter->clickable-ut) (7.0)
      Requirement already satisfied, skipping upgrade: chardet>=3.0.2 in /usr/lib/python3/dist-packages (from binaryornot>=0.4.4->cookiecutter->clickable-ut) (3.0.4)
      Collecting arrow
        Downloading arrow-0.17.0-py2.py3-none-any.whl (50 kB)
           |████████████████████████████████| 50 kB 187 kB/s 
      Collecting text-unidecode>=1.3
        Downloading text_unidecode-1.3-py2.py3-none-any.whl (78 kB)
           |████████████████████████████████| 78 kB 153 kB/s 
      Requirement already satisfied, skipping upgrade: python-dateutil>=2.7.0 in /usr/lib/python3/dist-packages (from arrow->jinja2-time>=0.2.0->cookiecutter->clickable-ut) (2.7.3)
      Building wheels for collected packages: pyrsistent, python-slugify
        Building wheel for pyrsistent (setup.py) ... done
        Created wheel for pyrsistent: filename=pyrsistent-0.17.3-cp38-cp38-linux_x86_64.whl size=106641 sha256=1b3d47087412b6608964e44441988020c762f4d31211c5de197fe9ead4cf079b
        Stored in directory: /home/mattias/.cache/pip/wheels/3d/22/08/7042eb6309c650c7b53615d5df5cc61f1ea9680e7edd3a08d2
        Building wheel for python-slugify (setup.py) ... done
        Created wheel for python-slugify: filename=python_slugify-4.0.1-py2.py3-none-any.whl size=6767 sha256=f8e95f2716109971c8f8b27074379c141cd87922e5a529ec1b8ac6a7f12a7767
        Stored in directory: /home/mattias/.cache/pip/wheels/91/4d/4f/e740a68c215791688c46c4d6251770a570e8dfea91af1acb5c
      Successfully built pyrsistent python-slugify
      ERROR: cookiecutter 1.7.2 has requirement requests>=2.23.0, but you'll have requests 2.22.0 which is incompatible.
      Installing collected packages: pyrsistent, attrs, jsonschema, binaryornot, poyo, arrow, jinja2-time, text-unidecode, python-slugify, cookiecutter, clickable-ut
        WARNING: The script jsonschema is installed in '/home/mattias/.local/bin' which is not on PATH.
        Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
        WARNING: The script slugify is installed in '/home/mattias/.local/bin' which is not on PATH.
        Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
        WARNING: The script cookiecutter is installed in '/home/mattias/.local/bin' which is not on PATH.
        Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
        WARNING: The script clickable is installed in '/home/mattias/.local/bin' which is not on PATH.
        Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
      Successfully installed arrow-0.17.0 attrs-20.3.0 binaryornot-0.4.4 clickable-ut-6.20.1 cookiecutter-1.7.2 jinja2-time-0.2.0 jsonschema-3.2.0 poyo-0.5.0 pyrsistent-0.17.3 python-slugify-4.0.1 text-unidecode-1.3
      
      1. Add path
        Result: Ok
      $ echo 'export PATH="$PATH:~/.local/bin"' >> ~/.bashrc
      
      1. Run clickable
        Result: Seems ok but not sure
      $ clickable --version
      clickable 6.20.1
      
      1 Reply Last reply Reply Quote 0
      • dobey
        dobey last edited by

        Have you opened an issue at https://gitlab.com/clickable/clickable about it?

        M 1 Reply Last reply Reply Quote 0
        • M
          matty00 @dobey last edited by

          @dobey Thanks, I have done now. 🙂

          1 Reply Last reply Reply Quote 0
          • First post
            Last post