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

Running the command python reconstruct.py dataset_name='helsinki_mini' model_name='helsinki_fullview' results in the error: ModuleNotFoundError: No module named 'sage.all'. #26

Open
Zhong0501 opened this issue Aug 8, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Zhong0501
Copy link

The from sage.all import polytopes, QQ, RR, Polyhedron statement in complex.py is causing an error: ModuleNotFoundError: No module named 'sage.all'. My computer is running Windows 10, and I'm using PyCharm as my development platform.
The version of Sage I installed is only 0.0.0. Is this because of the Windows operating system?

@Zhong0501 Zhong0501 added the bug Something isn't working label Aug 8, 2024
@chenzhaiyu
Copy link
Owner

It looks like Sage was not properly installed. Please refer to https://github.com/chenzhaiyu/abspy#faq and https://doc.sagemath.org/html/en/installation/index.html#windows for its installation.

@Zhong0501
Copy link
Author

@chenzhaiyu

Thank you for your suggestions. I have set up the environment in WSL, but when I run python reconstruct.py dataset_name='helsinki_mini' model_name='helsinki_fullview', I get an error. The error is shown in the image.
6d213169daca1c5a941efc4d44b0d25

@chenzhaiyu
Copy link
Owner

aabbs was introduced since abspy v0.2.4. Which version of abspy are you using and how did you install it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants