apache / arrow-adbc

Database connectivity API standard and libraries for Apache Arrow
https://arrow.apache.org/adbc/
Apache License 2.0
383 stars 95 forks source link

PIP install failing on windows #653

Closed Prussian1870 closed 1 year ago

Prussian1870 commented 1 year ago

The install is failing on Windows:

pip install adbc-driver-sqlite ERROR: Could not find a version that satisfies the requirement adbc-driver-sqlite (from versions: none) ERROR: No matching distribution found for adbc-driver-sqlite

lidavidm commented 1 year ago

What's the full error?

That said, likely it's #639 so this will be fixed once we get the next release out (in 1-2 weeks)

Prussian1870 commented 1 year ago

That is the full error.

pip install adbc-driver-sqlite ERROR: Could not find a version that satisfies the requirement adbc-driver-sqlite (from versions: none) ERROR: No matching distribution found for adbc-driver-sqlite

Thanks for the quick reply.

On Thu, May 4, 2023 at 12:53 PM David Li @.***> wrote:

What's the full error?

That said, likely it's #639 https://github.com/apache/arrow-adbc/issues/639 so this will be fixed once we get the next release out (in 1-2 weeks)

— Reply to this email directly, view it on GitHub https://github.com/apache/arrow-adbc/issues/653#issuecomment-1535077672, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABUQ3HUA7EKEAPIJLXFOFLLXEPNKJANCNFSM6AAAAAAXV75BOY . You are receiving this because you authored the thread.Message ID: @.***>

lidavidm commented 1 year ago

OK. I believe it's a duplicate of #639. We just weren't uploading the Windows wheels before.

> pip install --dry-run adbc-driver-sqlite --no-deps --target /tmp --platform win_amd64 
ERROR: Could not find a version that satisfies the requirement adbc-driver-sqlite (from versions: none)
ERROR: No matching distribution found for adbc-driver-sqlite

I'll leave this open and we can circle back once the release is out.

Prussian1870 commented 1 year ago

Sounds good, thanks!

On Thu, May 4, 2023 at 1:16 PM David Li @.***> wrote:

OK. I believe it's a duplicate of #639 https://github.com/apache/arrow-adbc/issues/639. We just weren't uploading the Windows wheels before.

pip install --dry-run adbc-driver-sqlite --no-deps --target /tmp --platform win_amd64 ERROR: Could not find a version that satisfies the requirement adbc-driver-sqlite (from versions: none) ERROR: No matching distribution found for adbc-driver-sqlite

I'll leave this open and we can circle back once the release is out.

— Reply to this email directly, view it on GitHub https://github.com/apache/arrow-adbc/issues/653#issuecomment-1535129576, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABUQ3HWKWPM34VAX6LZKYTLXEPP7RANCNFSM6AAAAAAXV75BOY . You are receiving this because you authored the thread.Message ID: @.***>

getorca commented 1 year ago

I'm also getting the same thing in ubuntu trying to install with pip

lidavidm commented 1 year ago

Same question: what's the command/full output?

It's also quite possible you're on an unsupported Python version?

getorca commented 1 year ago

I have tried both sqlite driver and psql driver with: pip install adbc-driver-sqlite and pip install adbc-driver-postgresql

errors with --verbose are respectively: and

Non-user install because user site-packages disabled
Created temporary directory: /tmp/pip-ephem-wheel-cache-k3aad2j9
Created temporary directory: /tmp/pip-req-tracker-hqmc07bq
Initialized build tracking at /tmp/pip-req-tracker-hqmc07bq
Created build tracker: /tmp/pip-req-tracker-hqmc07bq
Entered build tracker: /tmp/pip-req-tracker-hqmc07bq
Created temporary directory: /tmp/pip-install-4b_7ir96
1 location(s) to search for versions of adbc-driver-sqlite:
* https://pypi.org/simple/adbc-driver-sqlite/
Fetching project page and analyzing links: https://pypi.org/simple/adbc-driver-sqlite/
Getting page https://pypi.org/simple/adbc-driver-sqlite/
Found index url https://pypi.org/simple
Looking up "https://pypi.org/simple/adbc-driver-sqlite/" 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/adbc-driver-sqlite/ HTTP/1.1" 304 0
  Skipping link: none of the wheel's tags match: py3-none-macosx_10_9_x86_64: https://files.pythonhosted.org/packages/ff/70/5b739e99e96f66e456efc6b93a220b82a8b22d9fce683bb1dd67f70225a3/adbc_driver_sqlite-0.1.0-py3-none-macosx_10_9_x86_64.whl#sha256=bb1eb49b61237ea777a88ac5f5e0db13c12f8b093619520b2a5e9485fac8af8a (from https://pypi.org/simple/adbc-driver-sqlite/) (requires-python:>=3.9)
  Skipping link: none of the wheel's tags match: py3-none-macosx_11_0_arm64: https://files.pythonhosted.org/packages/44/7b/b027f03b5f82c52a9c8b7b555fb96c926499cb6b71e7dcb243c2a40aca69/adbc_driver_sqlite-0.1.0-py3-none-macosx_11_0_arm64.whl#sha256=769de0d67159ad554412e4728e165f6162749dbf005e204714066c528bfe4364 (from https://pypi.org/simple/adbc-driver-sqlite/) (requires-python:>=3.9)
  Skipping link: none of the wheel's tags match: py3-none-manylinux2014_aarch64, py3-none-manylinux_2_17_aarch64: https://files.pythonhosted.org/packages/05/36/8e3dee377a89206df8f2bf45a02a4ade1e6b80da97056ebd5700982a9a03/adbc_driver_sqlite-0.1.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl#sha256=d9745a7446b8cf3910a92859cb5183c31005a07ee919f257cae2c3d5b7f47fc5 (from https://pypi.org/simple/adbc-driver-sqlite/) (requires-python:>=3.9)
  Link requires a different Python (3.8.10 not in: '>=3.9'): https://files.pythonhosted.org/packages/49/9c/d5826f7b96de8a73890f950cb14dd6075d72cf49ae6d395c3bf3e629cfed/adbc_driver_sqlite-0.1.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl#sha256=d039fa3dd938ee35888fc8f81543ebf98108f4dd300a69680141d2586176d6ab (from https://pypi.org/simple/adbc-driver-sqlite/) (requires-python:>=3.9)
  Skipping link: none of the wheel's tags match: py3-none-macosx_10_9_x86_64: https://files.pythonhosted.org/packages/1b/11/8ad6db6bb19f627542a730a53d66f35f4296aa6908c706ff74938ae2a959/adbc_driver_sqlite-0.2.0-py3-none-macosx_10_9_x86_64.whl#sha256=d573a9447708d53b4e8801d984759230719e5397015104b297417d4c197da4b3 (from https://pypi.org/simple/adbc-driver-sqlite/) (requires-python:>=3.9)
  Skipping link: none of the wheel's tags match: py3-none-macosx_11_0_arm64: https://files.pythonhosted.org/packages/ed/c4/7535d61d90a7784cbdc718a47763f08dc8635a6d0b79255a5ac6f5dbef9f/adbc_driver_sqlite-0.2.0-py3-none-macosx_11_0_arm64.whl#sha256=34b7cc62340cb9b652362d5c3457cbe84801258475136c9872003bc81df174aa (from https://pypi.org/simple/adbc-driver-sqlite/) (requires-python:>=3.9)
  Skipping link: none of the wheel's tags match: py3-none-manylinux2014_aarch64, py3-none-manylinux_2_17_aarch64: https://files.pythonhosted.org/packages/10/eb/d816705a1a158a94c56425c4783a6ffea075b4189455aa6d5702d302a255/adbc_driver_sqlite-0.2.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl#sha256=80ae59328038fd20c2a8bbb785a2a1770c768eef3f8c88597349e57e06b46f90 (from https://pypi.org/simple/adbc-driver-sqlite/) (requires-python:>=3.9)
  Link requires a different Python (3.8.10 not in: '>=3.9'): https://files.pythonhosted.org/packages/88/d8/51c5d427195eccd5df4e484ca80a9ff48a51df14430bffe33a1431ad0506/adbc_driver_sqlite-0.2.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl#sha256=999d76ef2f30c56ec1403cf834eca1a5e72ebdefc737a7c6d778270055601d04 (from https://pypi.org/simple/adbc-driver-sqlite/) (requires-python:>=3.9)
  Skipping link: none of the wheel's tags match: py3-none-macosx_10_9_x86_64: https://files.pythonhosted.org/packages/7b/bf/283e7faddc64c6207f0248fe240b0e23f1b5948bb98c6e4aa4d777e4dff1/adbc_driver_sqlite-0.3.0-py3-none-macosx_10_9_x86_64.whl#sha256=09e1bd9bd60801ea2a0942c83430fc005aab4aece21eae25c272b5c48a747f29 (from https://pypi.org/simple/adbc-driver-sqlite/) (requires-python:>=3.9)
  Skipping link: none of the wheel's tags match: py3-none-macosx_11_0_arm64: https://files.pythonhosted.org/packages/a6/e7/dcd91467f2896d4e01fcd1f83add975ca34e9c7f92b80a16eb30fe2513e9/adbc_driver_sqlite-0.3.0-py3-none-macosx_11_0_arm64.whl#sha256=5cb0829c38fd69fca379e5f546818a7e17dc596c15de0d5851c84ca505d37e26 (from https://pypi.org/simple/adbc-driver-sqlite/) (requires-python:>=3.9)
  Skipping link: none of the wheel's tags match: py3-none-manylinux2014_aarch64, py3-none-manylinux_2_17_aarch64: https://files.pythonhosted.org/packages/9d/88/5ef16e16df90d9929e54c2860a466aaa52c400ee29be897f68632fb1721b/adbc_driver_sqlite-0.3.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl#sha256=c8240ff3aa2cdda03ddbed6f2cca9aa28a6c6cdd71ea83122dc73b19bb663a07 (from https://pypi.org/simple/adbc-driver-sqlite/) (requires-python:>=3.9)
  Link requires a different Python (3.8.10 not in: '>=3.9'): https://files.pythonhosted.org/packages/ea/2b/8bd19966fbf43f69784fefe2d52ca437f2ab604fef62392fd6d6a2737946/adbc_driver_sqlite-0.3.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl#sha256=0934d79913bc9a06a18c873191393d056b0a7f705feae495ff520740e6791868 (from https://pypi.org/simple/adbc-driver-sqlite/) (requires-python:>=3.9)
Given no hashes to check 0 links for project 'adbc-driver-sqlite': discarding no candidates
ERROR: Could not find a version that satisfies the requirement adbc-driver-sqlite (from versions: none)
Cleaning up...
Removed build tracker: '/tmp/pip-req-tracker-hqmc07bq'
ERROR: No matching distribution found for adbc-driver-sqlite
Exception information:
Traceback (most recent call last):
  File "/mnt/Data/Projects/AutoWSB_a_LoRA/venv/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 186, in _main
    status = self.run(options, args)
  File "/mnt/Data/Projects/AutoWSB_a_LoRA/venv/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 357, in run
    resolver.resolve(requirement_set)
  File "/mnt/Data/Projects/AutoWSB_a_LoRA/venv/lib/python3.8/site-packages/pip/_internal/legacy_resolve.py", line 177, in resolve
    discovered_reqs.extend(self._resolve_one(requirement_set, req))
  File "/mnt/Data/Projects/AutoWSB_a_LoRA/venv/lib/python3.8/site-packages/pip/_internal/legacy_resolve.py", line 333, in _resolve_one
    abstract_dist = self._get_abstract_dist_for(req_to_install)
  File "/mnt/Data/Projects/AutoWSB_a_LoRA/venv/lib/python3.8/site-packages/pip/_internal/legacy_resolve.py", line 281, in _get_abstract_dist_for
    req.populate_link(self.finder, upgrade_allowed, require_hashes)
  File "/mnt/Data/Projects/AutoWSB_a_LoRA/venv/lib/python3.8/site-packages/pip/_internal/req/req_install.py", line 249, in populate_link
    self.link = finder.find_requirement(self, upgrade)
  File "/mnt/Data/Projects/AutoWSB_a_LoRA/venv/lib/python3.8/site-packages/pip/_internal/index/package_finder.py", line 926, in find_requirement
    raise DistributionNotFound(
pip._internal.exceptions.DistributionNotFound: No matching distribution found for adbc-driver-sqlite
Non-user install because user site-packages disabled
Created temporary directory: /tmp/pip-ephem-wheel-cache-xkwunxpk
Created temporary directory: /tmp/pip-req-tracker-b2kxp49e
Initialized build tracking at /tmp/pip-req-tracker-b2kxp49e
Created build tracker: /tmp/pip-req-tracker-b2kxp49e
Entered build tracker: /tmp/pip-req-tracker-b2kxp49e
Created temporary directory: /tmp/pip-install-bxedppq1
1 location(s) to search for versions of adbc-driver-postgresql:
* https://pypi.org/simple/adbc-driver-postgresql/
Fetching project page and analyzing links: https://pypi.org/simple/adbc-driver-postgresql/
Getting page https://pypi.org/simple/adbc-driver-postgresql/
Found index url https://pypi.org/simple
Looking up "https://pypi.org/simple/adbc-driver-postgresql/" 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/adbc-driver-postgresql/ HTTP/1.1" 304 0
  Skipping link: none of the wheel's tags match: py3-none-macosx_10_9_x86_64: https://files.pythonhosted.org/packages/a5/f9/35f5168d868b87a583fb8a1885b52f731f00efa6ab20ec621534d3270127/adbc_driver_postgresql-0.1.0-py3-none-macosx_10_9_x86_64.whl#sha256=5d5e59caca7c04b3c49929323a902c426639d2ba25c8e792f4163200b9baa80e (from https://pypi.org/simple/adbc-driver-postgresql/) (requires-python:>=3.9)
  Skipping link: none of the wheel's tags match: py3-none-macosx_11_0_arm64: https://files.pythonhosted.org/packages/19/e2/cd762de225de04a755801ff3e273f3e150319cd39f8995d5e17775164767/adbc_driver_postgresql-0.1.0-py3-none-macosx_11_0_arm64.whl#sha256=c0628d1cea1636231aa685688cb3b732bc164cb54b40fc8703f156852bc560da (from https://pypi.org/simple/adbc-driver-postgresql/) (requires-python:>=3.9)
  Skipping link: none of the wheel's tags match: py3-none-manylinux2014_aarch64, py3-none-manylinux_2_17_aarch64: https://files.pythonhosted.org/packages/ff/6c/dfa1c739e7278b70e0c6a844db7dc2a9fe86ea309c633e752f77783f563e/adbc_driver_postgresql-0.1.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl#sha256=c32f6e96537b1c4768484c685d3e1f66f7c7612f1e389daf9b2a189895964cdd (from https://pypi.org/simple/adbc-driver-postgresql/) (requires-python:>=3.9)
  Link requires a different Python (3.8.10 not in: '>=3.9'): https://files.pythonhosted.org/packages/2c/6d/cf4b6d83f496652778a3bbe6890e4d238aecf35fef4d6a33f35648b61e03/adbc_driver_postgresql-0.1.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl#sha256=ff9183ee999c3ce3c83cff113cc180271d9acc653aec3e195b46f6fdb75d21d0 (from https://pypi.org/simple/adbc-driver-postgresql/) (requires-python:>=3.9)
  Skipping link: none of the wheel's tags match: py3-none-macosx_10_9_x86_64: https://files.pythonhosted.org/packages/8e/f3/7a53c1c6e3524e92c0c0719699d8be7285496cf850590f3271804d912357/adbc_driver_postgresql-0.2.0-py3-none-macosx_10_9_x86_64.whl#sha256=f32d3a727ca880a9ad96e5b5d55b7016baa3452080e57e21084b44889a6dce82 (from https://pypi.org/simple/adbc-driver-postgresql/) (requires-python:>=3.9)
  Skipping link: none of the wheel's tags match: py3-none-macosx_11_0_arm64: https://files.pythonhosted.org/packages/ef/b7/c3a2a6b3c49a8be984085c94e474bf07cb4edf1efda7abbfb9e64ea23540/adbc_driver_postgresql-0.2.0-py3-none-macosx_11_0_arm64.whl#sha256=706a08fb29d60374dc1ed8902ddc60800cb0bcd592cdee85fc891a71245fa937 (from https://pypi.org/simple/adbc-driver-postgresql/) (requires-python:>=3.9)
  Skipping link: none of the wheel's tags match: py3-none-manylinux2014_aarch64, py3-none-manylinux_2_17_aarch64: https://files.pythonhosted.org/packages/60/c5/75458dbf3e7b8c330d110e57c7dd7dffc5b5de792c7c9504124a0cb13a7c/adbc_driver_postgresql-0.2.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl#sha256=b3f77b8836cc2728231c430763fe1ec445e577b19fe2b2241bcffb484e7601ad (from https://pypi.org/simple/adbc-driver-postgresql/) (requires-python:>=3.9)
  Link requires a different Python (3.8.10 not in: '>=3.9'): https://files.pythonhosted.org/packages/9b/60/3797aaf7f7a1d25eabcf14d4a2170ce1512c9274c243f214dec17dc02448/adbc_driver_postgresql-0.2.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl#sha256=34640f6664aad3bc3151a4320b0ec65aa4962f32aa0d1a47424e7a7779d64eb6 (from https://pypi.org/simple/adbc-driver-postgresql/) (requires-python:>=3.9)
  Skipping link: none of the wheel's tags match: py3-none-macosx_10_9_x86_64: https://files.pythonhosted.org/packages/10/45/8d2a3dacc2e30ddb49a6314951130ad0a065d42c3d4eeaaa874402aa7d96/adbc_driver_postgresql-0.3.0-py3-none-macosx_10_9_x86_64.whl#sha256=a0f6ff9cc5edf7bbaa7a497179b221c5ea775faf6d59ca1b1dc3d07dd475e0ac (from https://pypi.org/simple/adbc-driver-postgresql/) (requires-python:>=3.9)
  Skipping link: none of the wheel's tags match: py3-none-macosx_11_0_arm64: https://files.pythonhosted.org/packages/b6/34/bbc054fda5a92085255dfb3f93e359dab8dc488ab2b9cc5a90479b8940bd/adbc_driver_postgresql-0.3.0-py3-none-macosx_11_0_arm64.whl#sha256=b61ad1d714b46332afe54c77ddbc83bb96ae82bb7298b00618392626c222d072 (from https://pypi.org/simple/adbc-driver-postgresql/) (requires-python:>=3.9)
  Skipping link: none of the wheel's tags match: py3-none-manylinux2014_aarch64, py3-none-manylinux_2_17_aarch64: https://files.pythonhosted.org/packages/f2/2c/133588b5c265e4a23a63eae5b1f8a8ed2e471b2bc447ff73d1edfd1b25c3/adbc_driver_postgresql-0.3.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl#sha256=140038e54d38a619381a821d0f8cd9647a97e389a23e8958df69825779c2a2fb (from https://pypi.org/simple/adbc-driver-postgresql/) (requires-python:>=3.9)
  Link requires a different Python (3.8.10 not in: '>=3.9'): https://files.pythonhosted.org/packages/9a/e7/4c15ae2953513a41c77600b1950244cf30d0937b8a989b198e5c9d674566/adbc_driver_postgresql-0.3.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl#sha256=a19e2455eb28331321f9645c62aefd067f337ed3f8b73c01515274c0a73983a3 (from https://pypi.org/simple/adbc-driver-postgresql/) (requires-python:>=3.9)
Given no hashes to check 0 links for project 'adbc-driver-postgresql': discarding no candidates
ERROR: Could not find a version that satisfies the requirement adbc-driver-postgresql (from versions: none)
Cleaning up...
Removed build tracker: '/tmp/pip-req-tracker-b2kxp49e'
ERROR: No matching distribution found for adbc-driver-postgresql
Exception information:
Traceback (most recent call last):
  File "/mnt/Data/Projects/AutoWSB_a_LoRA/venv/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 186, in _main
    status = self.run(options, args)
  File "/mnt/Data/Projects/AutoWSB_a_LoRA/venv/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 357, in run
    resolver.resolve(requirement_set)
  File "/mnt/Data/Projects/AutoWSB_a_LoRA/venv/lib/python3.8/site-packages/pip/_internal/legacy_resolve.py", line 177, in resolve
    discovered_reqs.extend(self._resolve_one(requirement_set, req))
  File "/mnt/Data/Projects/AutoWSB_a_LoRA/venv/lib/python3.8/site-packages/pip/_internal/legacy_resolve.py", line 333, in _resolve_one
    abstract_dist = self._get_abstract_dist_for(req_to_install)
  File "/mnt/Data/Projects/AutoWSB_a_LoRA/venv/lib/python3.8/site-packages/pip/_internal/legacy_resolve.py", line 281, in _get_abstract_dist_for
    req.populate_link(self.finder, upgrade_allowed, require_hashes)
  File "/mnt/Data/Projects/AutoWSB_a_LoRA/venv/lib/python3.8/site-packages/pip/_internal/req/req_install.py", line 249, in populate_link
    self.link = finder.find_requirement(self, upgrade)
  File "/mnt/Data/Projects/AutoWSB_a_LoRA/venv/lib/python3.8/site-packages/pip/_internal/index/package_finder.py", line 926, in find_requirement
    raise DistributionNotFound(
pip._internal.exceptions.DistributionNotFound: No matching distribution found for adbc-driver-postgresql

Addition system info:

lidavidm commented 1 year ago

We don't ship wheels for Python 3.8, sorry. (It should be possible with some work.)

DeflateAwning commented 1 year ago

Same issue with Python 3.9 on Windows 11. Please fix.

lidavidm commented 1 year ago

Windows wheel now available, please try again: https://pypi.org/project/adbc-driver-sqlite/0.4.0/#files

Prussian1870 commented 1 year ago

Working fine. Thx!

lidavidm commented 1 year ago

Thanks!

I'm going to close this.

@getorca if you'd like to file a separate issue for 3.8 compatibility we can look at it (3.8 is still in support for another year)