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

how to install specified version of oneflow by "pip install oneflow=xxx" #10538

Closed
Remember2015 opened this issue Jun 19, 2024 · 2 comments
Closed

Comments

@Remember2015
Copy link

Remember2015 commented Jun 19, 2024

Description

The latest oneflow requires numpy >= 2.0 which is not compatible with some package like onnxruntime and many others, after I tried to install specified version of oneflow by pip install ..., it failed with message:

Could not find a version that satisfies the requirement oneflow==1.0.0 (from versions: 0.6.0, 0.7.0)

and version 0.7.0 is toooo old....

so is there any other ways to install 1.0.x versions that require numpy == 1.xx

@Remember2015 Remember2015 changed the title how to install specified version by pip install how to install specified version of oneflow by "pip install oneflow=xxx" Jun 19, 2024
@0x404
Copy link
Contributor

0x404 commented Jun 19, 2024

Fixed in #10537 , as a workaround, you can reinstall numpy to version 1.x like:

pip3 install --force-reinstall numpy==1.26.4

@Remember2015
Copy link
Author

Fixed in #10537 , as a workaround, you can reinstall numpy to version 1.x like:

pip3 install --force-reinstall numpy==1.26.4

Thanks, it works

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