Version
2.3.0
On which installation method(s) does this occur?
Pip
Describe the issue
Tried to run some examples under physicsnemo/examples/cfd/swe_nonlinear_pino that imports physicsnemo.sym. Program reported "Import error: No module named 'physicsnemo.sym'" even after installing the sym module.
The whole process:
git clone physicsnemo
- under the root folder:
uv sync
- also under the root folder:
uv pip install torch torchvision
uv pip install Cython
uv pip install nvidia-physicsnemo-sym --no-build-isolation
- installtion succeeded.
uv pip show nvidia-physicsnemo-sym reports version number normally
- run an example:
uv run python examples/cfd/swe_nonlinear_pino/train_swe_nl_pino.py. Program aborted with following message:
Warp DeprecationWarning: The namespace `warp.context` will soon be removed from the public API. It can still be accessed from `warp._src.context` but might be changed or removed without notice.
Warp DeprecationWarning: The symbol `warp.context.Device` will soon be removed from the public API. Use `warp.Device` instead.
Traceback (most recent call last):
File "/home/MY_USER_NAME/physicsnemo/examples/cfd/swe_nonlinear_pino/train_swe_nl_pino.py", line 33, in <module>
from swe_nl_pde import SWE_NL
File "/home/MY_USER_NAME/physicsnemo/examples/cfd/swe_nonlinear_pino/swe_nl_pde.py", line 17, in <module>
from physicsnemo.sym.eq.pde import PDE
ModuleNotFoundError: No module named 'physicsnemo.sym'
### Minimum reproducible example
```shell
As described in the description.
Relevant log output
Environment details
running on WSL-Ubuntu (24.04 LTS). CUDA Toolkit version: 12.8.0
Other/Misc.
No response
Version
2.3.0
On which installation method(s) does this occur?
Pip
Describe the issue
Tried to run some examples under
physicsnemo/examples/cfd/swe_nonlinear_pinothat imports physicsnemo.sym. Program reported "Import error: No module named 'physicsnemo.sym'" even after installing the sym module.The whole process:
git clonephysicsnemouv syncuv pip show nvidia-physicsnemo-symreports version number normallyuv run python examples/cfd/swe_nonlinear_pino/train_swe_nl_pino.py. Program aborted with following message:Relevant log output
Environment details
Other/Misc.
No response