chenzhaiyu / points2poly

Reconstructing compact building models from point clouds using deep implicit fields [ISPRS 2022]
https://github.com/chenzhaiyu/points2poly
MIT License
183 stars 34 forks source link

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

Closed Zhong0501 closed 1 month ago

Zhong0501 commented 2 months ago

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?

chenzhaiyu commented 2 months ago

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 commented 2 months ago

@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 commented 2 months ago

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