google-research / tapas

End-to-end neural table-text understanding models.
Apache License 2.0
1.15k stars 217 forks source link

ERROR: Could not find a version that satisfies the requirement pandas~=1.0.0 #32

Closed GaurangTandon closed 4 years ago

GaurangTandon commented 4 years ago
  1. Cloned the repo.
  2. Ran python -m pip install -e . (Python is v3.5).

Expected: all packages should install. Actual:

$ python -m pip install -e .
Obtaining file:///home/gaurang.tandon/tables/tapas
Collecting apache-beam[gcp]==2.20.0
  Downloading apache_beam-2.20.0-cp35-cp35m-manylinux1_x86_64.whl (3.4 MB)
     |████████████████████████████████| 3.4 MB 165 kB/s 
Collecting frozendict==1.2
  Downloading frozendict-1.2.tar.gz (2.6 kB)
ERROR: Could not find a version that satisfies the requirement pandas~=1.0.0 (from tapas==0.0.1.dev0) (from versions: 0.1, 0.2b0, 0.2b1, 0.2, 0.3.0b0, 0.3.0b2, 0.3.0, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.5.0, 0.6.0, 0.6.1, 0.7.0rc1, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.8.0rc1, 0.8.0rc2, 0.8.0, 0.8.1, 0.9.0, 0.9.1, 0.10.0, 0.10.1, 0.11.0, 0.12.0, 0.13.0, 0.13.1, 0.14.0, 0.14.1, 0.15.0, 0.15.1, 0.15.2, 0.16.0, 0.16.1, 0.16.2, 0.17.0, 0.17.1, 0.18.0, 0.18.1, 0.19.0rc1, 0.19.0, 0.19.1, 0.19.2, 0.20.0rc1, 0.20.0, 0.20.1, 0.20.2, 0.20.3, 0.21.0rc1, 0.21.0, 0.21.1, 0.22.0, 0.23.0rc2, 0.23.0, 0.23.1, 0.23.2, 0.23.3, 0.23.4, 0.24.0rc1, 0.24.0, 0.24.1, 0.24.2)
ERROR: No matching distribution found for pandas~=1.0.0 (from tapas==0.0.1.dev0)

How to fix this? I am on commit id 32f90d608f59a203fa4e0a8470c89b2cd8305ba6. Thanks!

muelletm commented 4 years ago

So we tested TAPAS with python 3.6 and 3.7, it looks like pandas1.0 is not compatible with 3.5.

https://pandas.pydata.org/pandas-docs/stable/getting_started/install.html "Officially Python 3.6.1 and above, 3.7, and 3.8."

So I guess you can try using a lower version of pandas or a higher version of python. I would recommend the later if it's possible for you.

GaurangTandon commented 4 years ago

Hi, thanks for the quick response! The remote server had only Python 3.5, I'll ask the admin if it's possible to upgrade.