Starting add-on development - AQT

I have been following the add-on development “Getting Started” document with PyCharm.

I am using 64-bit Python 3.8 on Ubuntu. The following command as specified in the guide fails:

subprocess.check_call(["pip3", "install", "mypy", "aqt"])

The error states:

ERROR: Could not find a version that satisfies the requirement aqt
ERROR: No matching distribution found for aqt

Any help would be appreciated.

What else is shown before and after the error?

This is the entirety of the error. It’s the same error I get when I run pip3 install aqt on CLI.

That’s odd. Were you able to pip install mypy? I suggest running pip3 install --upgrade pip then try again with verbose output: pip3 install -vvv aqt

1 Like

Here is the verbose output:

Using pip 21.0.1 from /home/dylan/.local/lib/python3.6/site-packages/pip (python 3.6)
Defaulting to user installation because normal site-packages is not writeable
Created temporary directory: /tmp/pip-ephem-wheel-cache-oauzbl2z
Created temporary directory: /tmp/pip-req-tracker-nmek8681
Initialized build tracking at /tmp/pip-req-tracker-nmek8681
Created build tracker: /tmp/pip-req-tracker-nmek8681
Entered build tracker: /tmp/pip-req-tracker-nmek8681
Created temporary directory: /tmp/pip-install-ihvhq6yn
1 location(s) to search for versions of aqt:
* https://pypi.org/simple/aqt/
Fetching project page and analyzing links: https://pypi.org/simple/aqt/
Getting page https://pypi.org/simple/aqt/
Found index url https://pypi.org/simple
Looking up "https://pypi.org/simple/aqt/" in the cache
Request header has "max_age" as 0, cache bypassed
Starting new HTTPS connection (1): pypi.org:443
https://pypi.org:443 "GET /simple/aqt/ HTTP/1.1" 304 0
  Link requires a different Python (3.6.9 not in: '>=3.7'): https://files.pythonhosted.org/packages/44/6e/266d770463ad4bdb18d0f4eb4c9cb22f0099822c6eb1889acc982c4eed70/aqt-2.1.24%2B359b9f5c-py3-none-any.whl#sha256=86e939f3ce9f117d0852696d96997f7d1d401ee1cfb3463793ae648fccad2b7e (from https://pypi.org/simple/aqt/) (requires-python:>=3.7)
  Link requires a different Python (3.6.9 not in: '>=3.7'): https://files.pythonhosted.org/packages/09/08/a5b273a0294f0e6bba7b8dfc8c555553dca3844116de5bcb6fabf4c492db/aqt-2.1.25-py3-none-any.whl#sha256=a55e542baead45bc431c71b10871186b4e07eecb00bf30b3c06308c760a137ea (from https://pypi.org/simple/aqt/) (requires-python:>=3.7)
  Link requires a different Python (3.6.9 not in: '>=3.7'): https://files.pythonhosted.org/packages/13/9f/24d92e944c14de212485bf26388188b20bac1a2fd1e02e6c34aefe642842/aqt-2.1.26-py3-none-any.whl#sha256=313d578c9ee406dc1daafa712716832cff136260fe5a47ce906fa561c79bc45a (from https://pypi.org/simple/aqt/) (requires-python:>=3.7)
  Link requires a different Python (3.6.9 not in: '>=3.7'): https://files.pythonhosted.org/packages/44/c2/4160384ffa17ff7e761a955a72cdc6ea73746150bcb4171b39da126a7c95/aqt-2.1.28-py3-none-any.whl#sha256=2af3e9e38b4b4b4289d0adabfebfe81bd8f3af119143101d440c150727084bf9 (from https://pypi.org/simple/aqt/) (requires-python:>=3.7)
  Link requires a different Python (3.6.9 not in: '>=3.7'): https://files.pythonhosted.org/packages/85/e0/844e02f999382e578d12ea44d61b67a2f150d9e61455ef5467aae63aa620/aqt-2.1.29-py3-none-any.whl#sha256=0f242c905f4c46cabb1464d79c3d864e46107c1569a8da96b3ee028af13015d3 (from https://pypi.org/simple/aqt/) (requires-python:>=3.7)
  Link requires a different Python (3.6.9 not in: '>=3.7'): https://files.pythonhosted.org/packages/f9/56/51a556985e04c49e3c1714396dab345e66d2113815a6784f30848cf1d9ff/aqt-2.1.30-py3-none-any.whl#sha256=1abc176927e37f17838643ec1e33721a6d6f948c24f597c784f171ae1124a91d (from https://pypi.org/simple/aqt/) (requires-python:>=3.7)
  Link requires a different Python (3.6.9 not in: '>=3.7'): https://files.pythonhosted.org/packages/3f/eb/acf7d552e9ad30358d598ed1d01f284866b25fe5c23c9959b33c360b4998/aqt-2.1.31-py3-none-any.whl#sha256=cff74f37e266fd6f403264fe5c380ca3e09af5cf29919729975afd97905fbd0c (from https://pypi.org/simple/aqt/) (requires-python:>=3.7)
  Link requires a different Python (3.6.9 not in: '>=3.7'): https://files.pythonhosted.org/packages/60/76/fc8cfe234995da35bd0dc6466b6071d626959d4e35c1976f75c846a3c72b/aqt-2.1.32-py3-none-any.whl#sha256=a8e54d9ec085314f1dfef73bd4ee57a4892baaf68d42f8f6e81e03471e131ad3 (from https://pypi.org/simple/aqt/) (requires-python:>=3.7)
  Link requires a different Python (3.6.9 not in: '>=3.7'): https://files.pythonhosted.org/packages/9c/2b/79fd6bedd667a542e8c42050f216502ec58fe428ccc5e4d64c1dd399f392/aqt-2.1.33-py3-none-any.whl#sha256=2f7bb055e08b195693164882ac83888bb019017b1b42f4d7efcffa0cfeea6e69 (from https://pypi.org/simple/aqt/) (requires-python:>=3.7)
  Link requires a different Python (3.6.9 not in: '>=3.7'): https://files.pythonhosted.org/packages/cf/c6/32678c1f69fe2e7b79cc73705afa5161af159e45e609f106ebf5cc74bd89/aqt-2.1.34-py3-none-any.whl#sha256=3a93b6aa490d9cb06d3aeb2fa47229bf887b0c98735d8f8ecbf7756aab44225c (from https://pypi.org/simple/aqt/) (requires-python:>=3.7)
  Link requires a different Python (3.6.9 not in: '>=3.7'): https://files.pythonhosted.org/packages/d2/cd/c59b321b8d50ec32c76c0a3b8d36c1a8897c7fc7503efa8c3dc3c5785ec3/aqt-2.1.35-py3-none-any.whl#sha256=0683f1eb33469f230e27d25ef2d10d3b4d132c17f63d7b922739210d03ed3d08 (from https://pypi.org/simple/aqt/) (requires-python:>=3.7)
  Link requires a different Python (3.6.9 not in: '>=3.8'): https://files.pythonhosted.org/packages/b9/bc/9b48b8f11b5c5416084ba009af3624ff34cd63c0426f24a5c4160c38ca51/aqt-2.1.36-py3-none-any.whl#sha256=39bb5f931221b9a3da851eff0021c48259bb0d3f817881f629e520059ad2a943 (from https://pypi.org/simple/aqt/) (requires-python:>=3.8)
  Link requires a different Python (3.6.9 not in: '>=3.8'): https://files.pythonhosted.org/packages/77/ad/f86019503324083fe29ed32345a1bb6e1b5c7c5fa9157e491c90dddaac20/aqt-2.1.37rc1-py3-none-any.whl#sha256=0d8f9a482277e6d1ba9bd58305d57f470d16254a6113f6fd5c40dc73e11ea2b0 (from https://pypi.org/simple/aqt/) (requires-python:>=3.8)
  Link requires a different Python (3.6.9 not in: '>=3.8'): https://files.pythonhosted.org/packages/16/df/1d5465ed01f4e6c9a5db502ef3ee41cba2af20f8b95a8825090b954d3aca/aqt-2.1.37-py3-none-any.whl#sha256=36deb53a48891ee17f852ff19910896c24f4e32149b8407ff3cf44bf1b8e0cc0 (from https://pypi.org/simple/aqt/) (requires-python:>=3.8)
  Link requires a different Python (3.6.9 not in: '>=3.8'): https://files.pythonhosted.org/packages/7b/fb/c0b7b54b38ff6ce18cf2a7ad38147130496852ec38ea219abb5bdb1a43fd/aqt-2.1.38b1-py3-none-any.whl#sha256=76f2a05be755ee5fb62b7598134f82d1fe467223bf9acc207c2f0edf562f2834 (from https://pypi.org/simple/aqt/) (requires-python:>=3.8)
  Link requires a different Python (3.6.9 not in: '>=3.8'): https://files.pythonhosted.org/packages/80/21/bc6b7d6bee09eaac5f74fb61e384a3becc577f62e4c509adc6812dfb864d/aqt-2.1.38b2-py3-none-any.whl#sha256=916aabc5653ef5f37833ddefc5bf8795d12f35e29f06f66fd0f12ad086fa086f (from https://pypi.org/simple/aqt/) (requires-python:>=3.8)
  Link requires a different Python (3.6.9 not in: '>=3.8'): https://files.pythonhosted.org/packages/6d/ca/2e47be1886d93ad37663d462053a5985c292a6ea976c9ffc2653fcee5661/aqt-2.1.38b3-py3-none-any.whl#sha256=200a237a085351849f97c53e45a3863161494469ec83de592479a0b851b1d759 (from https://pypi.org/simple/aqt/) (requires-python:>=3.8)
  Link requires a different Python (3.6.9 not in: '>=3.8'): https://files.pythonhosted.org/packages/de/53/fb61cc5b83ade8dda6dcfe52b692aeabb18003cb2971b06207b2c91b69c9/aqt-2.1.38b4-py3-none-any.whl#sha256=74790a407b9c379f67ab6e36a561d83ada619f4c1e6be431ad06dd03a06f9051 (from https://pypi.org/simple/aqt/) (requires-python:>=3.8)
  Link requires a different Python (3.6.9 not in: '>=3.8'): https://files.pythonhosted.org/packages/12/70/533a10bc40c718b387d911a95a6dced9c9edebcbfcb7e40a87e0b33e8dc1/aqt-2.1.38-py3-none-any.whl#sha256=94a25c090c64c1507c217a0aa130b18b0da6ec3e58b955f471cc93583c73c720 (from https://pypi.org/simple/aqt/) (requires-python:>=3.8)
  Link requires a different Python (3.6.9 not in: '>=3.8'): https://files.pythonhosted.org/packages/b2/b7/f96776472d139cefaf94b657f15726b0499f5c646a54625091f4b3058a46/aqt-2.1.39b1-py3-none-any.whl#sha256=e054c14be6a586a9d9b7b0a7f0a632cc49baa63b834658b98a74ba3bd4465ffd (from https://pypi.org/simple/aqt/) (requires-python:>=3.8)
  Link requires a different Python (3.6.9 not in: '>=3.8'): https://files.pythonhosted.org/packages/62/9e/ed7f4fbc05da516799d4ea998283db729863d8b34d3a79e67a54a05cf3a2/aqt-2.1.39b2-py3-none-any.whl#sha256=f9d524bd1bef89637a6ea36dac41d3867fc71d2d27cda4e962dd223b4c990ef0 (from https://pypi.org/simple/aqt/) (requires-python:>=3.8)
  Link requires a different Python (3.6.9 not in: '>=3.8'): https://files.pythonhosted.org/packages/e5/b9/fbd7d0a89d6b88abd3117196ae27b10221db3f4630f07d6c83bf0ce953fd/aqt-2.1.39-py3-none-any.whl#sha256=7ac98efc7160e0252eccce16668768decd8630c4056ec562ba7e6e5277cd7638 (from https://pypi.org/simple/aqt/) (requires-python:>=3.8)
Given no hashes to check 0 links for project 'aqt': discarding no candidates
ERROR: Could not find a version that satisfies the requirement aqt
ERROR: No matching distribution found for aqt

I ran python3.8 -m pip install --upgrade pip then pip3 install aqt. This seemed to work!

1 Like