Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Having Error in Colab #52

Open
desis123 opened this issue Oct 1, 2022 · 1 comment
Open

Having Error in Colab #52

desis123 opened this issue Oct 1, 2022 · 1 comment

Comments

@desis123
Copy link

desis123 commented Oct 1, 2022

While trying to run the code in colab I am getting following error

ERROR: Could not find a version that satisfies the requirement numpy==1.22.0 (from questgen) (from versions: 1.3.0, 1.4.1, 1.5.0, 1.5.1, 1.6.0, 1.6.1, 1.6.2, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.8.1, 1.8.2, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.10.0.post2, 1.10.1, 1.10.2, 1.10.4, 1.11.0, 1.11.1, 1.11.2, 1.11.3, 1.12.0, 1.12.1, 1.13.0rc1, 1.13.0rc2, 1.13.0, 1.13.1, 1.13.3, 1.14.0rc1, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.14.6, 1.15.0rc1, 1.15.0rc2, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.15.4, 1.16.0rc1, 1.16.0rc2, 1.16.0, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.16.6, 1.17.0rc1, 1.17.0rc2, 1.17.0, 1.17.1, 1.17.2, 1.17.3, 1.17.4, 1.17.5, 1.18.0rc1, 1.18.0, 1.18.1, 1.18.2, 1.18.3, 1.18.4, 1.18.5, 1.19.0rc1, 1.19.0rc2, 1.19.0, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.19.5, 1.20.0rc1, 1.20.0rc2, 1.20.0, 1.20.1, 1.20.2, 1.20.3, 1.21.0rc1, 1.21.0rc2, 1.21.0, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6)
ERROR: No matching distribution found for numpy==1.22.0

@Cheng-SQ0716
Copy link

similar issue
it seems that colab will not support the numpy version 1.22.0 anymore(in default indexes-searching websites)

I'm also trying to code in colab, and this project cites Questgen from this git link
However, Questgen keeps torch version at 1.10.0,
but colab could only find versions from 1.10.1 to latest versions
that is to say, 1.10.0 is out of date for colab

by the way, I have tried many times and I could have some experience
add more source of finding indexes. In default, colab will look in indexes in https://pypi.org/simple and https://us-python.pkg.dev/colab-wheels/public/simple/

we could try more urls to search for viable indexes
!pip install --index-url=https://mirrors.aliyun.com/pypi/simple/ packagename
try different urls in the above code
it could be useful when the url contains the package versions you want

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants