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

Install Error #170

Open
gp37 opened this issue Mar 19, 2024 · 7 comments
Open

Install Error #170

gp37 opened this issue Mar 19, 2024 · 7 comments

Comments

@gp37
Copy link

gp37 commented Mar 19, 2024

I would like to try underworld3 but I get an error when downloading using the Underworld3_latest.sif

When I try and run an example script I get the following error:
module 'underworld' has no attribute 'meshing'

This error occurs the first time underworld is used which builds the mesh with this line:
meshbox = uw.meshing.UnstructuredSimplexBox( minCoords=(0.0, 0.0), maxCoords=(1.0, 1.0), cellSize=1.0 / 32.0, regular=True, qdegree=3)

When I run underworld3_latest.sif pip list I see that the version is listed as underworld 2.15.0b0. Should the module be listed as underworld3 and not an underworld2 version?

@bknight1
Copy link
Member

I think uw2 and uw3 are bundled together. Make sure you're importing underworld3 as uw not underworld

@gp37
Copy link
Author

gp37 commented Mar 20, 2024

When I run:
import underworld3 as uw

I get the following error:
No module named 'underworld3'

I can run:
import underworld as uw
but I get my original posted error.

@bknight1
Copy link
Member

Are you able to install modules within the container? You could try pip3 install git+https://github.com/underworldcode/underworld3.git

@gp37
Copy link
Author

gp37 commented Mar 26, 2024

Ok I tried that and it seemed to have worked however I now the the following error:
partially initialized module 'underworld3' has no attribute 'systems' (most likely due to a circular import)

@lmoresi
Copy link
Member

lmoresi commented Apr 3, 2024

Could be as simple as needing to run clean.sh to remove artefacts from the aborted build.

@lmoresi
Copy link
Member

lmoresi commented May 26, 2024

Is this still a live issue ?

@lmoresi
Copy link
Member

lmoresi commented Aug 29, 2024

is this still a live issue @gp37 ?

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

3 participants