galai icon indicating copy to clipboard operation
galai copied to clipboard

Could not find a version that satisfies the requirement promptsource

Open wladerer opened this issue 2 years ago • 4 comments

Specifications: Linux / pop!_os pip 22.0.2 from /usr/lib/python3/dist-packages/pip (python 3.10) Python 3.10.6

Issue encountered when installing from repo pip install git+https://github.com/paperswithcode/galai

ERROR: Could not find a version that satisfies the requirement promptsource (from galai) (from versions: none) ERROR: No matching distribution found for promptsource

Might be associated with the following issue: https://github.com/bigscience-workshop/promptsource/issues/728 Issue resolved when using Python 3.7

wladerer avatar Nov 16 '22 01:11 wladerer

I also got the same problem

khatvangi avatar Nov 16 '22 16:11 khatvangi

I attempted to install promptsource manually and it gave exact same error with Python 3.10 version (as here with the Galatica). The promtsource library refers to need using the prior versions of Python. The installation worked without issue in a Cloud environment with the prior Python version for me without need to modify the setup.py file to exclude the version limitation.

tmgthb avatar Nov 16 '22 19:11 tmgthb

Use python 3.9. That fixed the issue for me

alibeyram avatar Nov 16 '22 22:11 alibeyram

Hi @wladerer, can you check galai version 1.1.0? It should work with python 3.10.

mkardas avatar Dec 09 '22 10:12 mkardas

Hi @mkardas I know the issue is closed, but to confirm I re-tested locally and the model runs now with Python 3.10 without need to update any code. Thank you for the fix.

tmgthb avatar Jan 24 '23 21:01 tmgthb