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

One big problem: NumPy version conflicts while running the solution #1

Open
dyblove opened this issue Oct 14, 2024 · 4 comments
Open

Comments

@dyblove
Copy link

dyblove commented Oct 14, 2024

When you run the 3_zone_tiny project, enter switch solve --help, which prompts AttributeError: np.float_ was removed in the NumPy 2.0 release. Use np.float64 instead. Reducing the python version will cause more conflicts, and I would be grateful for someone to advise.

@Marrccus
Copy link

Marrccus commented Nov 5, 2024

I had the same issue. You can downgrade NumPy to 1.24.6

@dyblove
Copy link
Author

dyblove commented Nov 5, 2024

Thank you very much. I solved the problem. However, I ran into another problem, there were always some errors after the inclusion of the Switch-China module, but the Switch version I controlled was indeed 2.0.7. The Readme mentions that gen_info.csv no longer exists, but the error message still says that the file cannot be found. I would like to ask if you have encountered this problem? I'd appreciate it if you could help me out.
1730800856819

@Marrccus
Copy link

Marrccus commented Nov 5, 2024

Great!
Unfortunately not, I'm a beginner in both programming and Switch, and found your issue that I happily solved last week. However, if I encounter and solve a similar problem, I'll let you know :)

I hope you solve it before that!

@dyblove
Copy link
Author

dyblove commented Nov 5, 2024

Great! Your reply has helped me a lot. Thank you very much.

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