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

ModuleNotFoundError: No module named 'utilities3' #7

Open
lilux618 opened this issue Mar 6, 2023 · 3 comments
Open

ModuleNotFoundError: No module named 'utilities3' #7

lilux618 opened this issue Mar 6, 2023 · 3 comments

Comments

@lilux618
Copy link

lilux618 commented Mar 6, 2023

root@90f5577d61db:/workspace/Geo-FNO/airfoils# python3 naca_geofno.py
Traceback (most recent call last):
File "/workspace/Geo-FNO/airfoils/naca_geofno.py", line 8, in
from utilities3 import *
ModuleNotFoundError: No module named 'utilities3'

What's wrong with me?

@MaxGhi8
Copy link

MaxGhi8 commented May 18, 2023

Hello, maybe try to download the file utilities3.py file (found in the main neuraloperator/Geo-FNO folder) and put it in your working directory. Let me now if this solve the issue.

@samuelgneff
Copy link

@lilux618 I added a setup.py file and did some minor restructuring to avoid any relative imports and moving of files. That way utilities3 is in its own module and available throughout the project.

I think it would make sense to add a setup.py file and a requirements.txt. The readme says the project only depends on pytorch >=1.8.0, but there are a number of other required packages to install if you want to run the code.

@coffecdog
Copy link

(wm_test) star@star-ESC8000A-E11:/mnt/18t/wm/Geo-FNO/elasticity$ python elas_geofno.py
Traceback (most recent call last):
File "/mnt/18t/wm/Geo-FNO/elasticity/elas_geofno.py", line 8, in
from utilities3 import *
ModuleNotFoundError: No module named 'utilities3'
(wm_test) star@star-ESC8000A-E11:/mnt/18t/wm/Geo-FNO/elasticity$

Brother, I also appeared this mistake, how to solve it. for help

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

4 participants