# Unable to run helmholtz.py after installing 22.03.1

**URL:** <https://forums.developer.nvidia.com/t/unable-to-run-helmholtz-py-after-installing-22-03-1/221919>\
**Category:** Technical Support (PhysicsNeMo Only)\
**Created:** [July 26, 2022, 1:58pm UTC](https://forums.developer.nvidia.com/t/unable-to-run-helmholtz-py-after-installing-22-03-1/221919 "2022-07-26T13:58:29Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![yeokiwi](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@yeokiwi](https://forums.developer.nvidia.com/u/yeokiwi)\
**Post date:** [July 26, 2022, 1:58pm UTC](https://forums.developer.nvidia.com/t/unable-to-run-helmholtz-py-after-installing-22-03-1/221919/1 "2022-07-26T13:58:29Z")

</div>

I was able to run the modulus v22.03.1 docker container but when I try to run helmholtz.py, i encountered the following error.

root@0c905d725071:/examples/helmholtz# python helmholtz.py  
Traceback (most recent call last):  
File “helmholtz.py”, line 4, in   
from modulus.hydra import to\_absolute\_path, instantiate\_arch, ModulusConfig  
ImportError: cannot import name ‘ModulusConfig’ from ‘modulus.hydra’ (/opt/conda/lib/python3.8/site-packages/modulus-22.3-py3.8.egg/modulus/hydra/ **init**.py)

---

<div class="post-metadata">

**Author:** ![ngeneva](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/ngeneva/32/173476_2.png) [@ngeneva](https://forums.developer.nvidia.com/u/ngeneva)\
**Post date:** [July 26, 2022, 8:49pm UTC](https://forums.developer.nvidia.com/t/unable-to-run-helmholtz-py-after-installing-22-03-1/221919/2 "2022-07-26T20:49:11Z")

</div>

Hi @yeokiwi ,

Thanks for your interest in Modulus.  
You’re likely running version 22.07 of the examples if I had to guess. We had a lot of changes to the imports in 22.07 so things will not line up with 22.03.1 image.

Is there any reason you’re running 22.03.1 specifically? If so I can provide you the import fixes.

---

<div class="post-metadata">

**Author:** ![yeokiwi](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@yeokiwi](https://forums.developer.nvidia.com/u/yeokiwi)\
**Post date:** [July 27, 2022, 6:10am UTC](https://forums.developer.nvidia.com/t/unable-to-run-helmholtz-py-after-installing-22-03-1/221919/3 "2022-07-27T06:10:51Z")

</div>

I downloaded 22.07 but I encountered the following issue when I ran docker:

Error processing tar file(exit status 1): unexpected EOF.

So, i downloaded 22.03.1 and it worked but I could not run the examples.

Should I redownload the 22.07 and try again?

---

<div class="post-metadata">

**Author:** ![ngeneva](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/ngeneva/32/173476_2.png) [@ngeneva](https://forums.developer.nvidia.com/u/ngeneva)\
**Post date:** [July 27, 2022, 1:56pm UTC](https://forums.developer.nvidia.com/t/unable-to-run-helmholtz-py-after-installing-22-03-1/221919/4 "2022-07-27T13:56:00Z")

</div>

Hi @yeokiwi ,

Yes please try again, we had some issues with the [devzone image](https://developer.nvidia.com/modulus-downloads) and reuploaded it. Hopefully should be fixed.

Please let me know if it does not work.

Note (for future reference) we also provide Modulus containers on NGC which can also be pulled as an alternative option: [Modulus | NVIDIA NGC](https://catalog.ngc.nvidia.com/orgs/nvidia/teams/modulus/containers/modulus)

---

<div class="post-metadata">

**Author:** ![yeokiwi](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@yeokiwi](https://forums.developer.nvidia.com/u/yeokiwi)\
**Post date:** [July 27, 2022, 3:00pm UTC](https://forums.developer.nvidia.com/t/unable-to-run-helmholtz-py-after-installing-22-03-1/221919/5 "2022-07-27T15:00:56Z")

</div>

Hi @ngeneva,

The installation works! Thanks.

However, I still encounter problem running the example.

> root@623966b3241a:/examples/ldc# python ldc\_2d.py  
> Error executing job with overrides:   
> Traceback (most recent call last):  
> File “ldc\_2d.py”, line 82, in run  
> openfoam\_var = csv\_to\_dict(  
> File “/modulus/modulus/utils/io/csv\_rw.py”, line 33, in csv\_to\_dict  
> values = np.loadtxt(filename, skiprows=1, delimiter=delimiter, unpack=False)  
> File “/opt/conda/lib/python3.8/site-packages/numpy/lib/npyio.py”, line 1163, in loadtxt  
> chunk.append(packer(convert\_row(words)))  
> File “/opt/conda/lib/python3.8/site-packages/numpy/lib/npyio.py”, line 1142, in convert\_row  
> return [\*map(\_conv, vals)]  
> File “/opt/conda/lib/python3.8/site-packages/numpy/lib/npyio.py”, line 725, in \_floatconv  
> return float(x) # The fastest path.  
> ValueError: could not convert string to float: ‘oid sha256:4c68adf2b0a04c53f0abd4d3920f3fec618669399638dd5ece84785f474d1fa6’
> 
> Set the environment variable HYDRA\_FULL\_ERROR=1 for a complete stack trace.  
> root@623966b3241a:/examples/ldc#

I can run the ode\_spring\_mass example correctly though.

Rgds

---

<div class="post-metadata">

**Author:** ![ngeneva](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/ngeneva/32/173476_2.png) [@ngeneva](https://forums.developer.nvidia.com/u/ngeneva)\
**Post date:** [July 27, 2022, 3:07pm UTC](https://forums.developer.nvidia.com/t/unable-to-run-helmholtz-py-after-installing-22-03-1/221919/6 "2022-07-27T15:07:46Z")

</div>

Hi @yeokiwi ,

Looks like you don’t have Git LFS installed. We use Git LFS in our examples repo to store the data files, without LFS it will just be a pointer file. With Git LFS installed, try re-cloning the examples repo. That CSV file for LDC should now have proper data in it and the example should run.

More information about Git LFS can be found [here](https://git-lfs.github.com/).

---

<div class="post-metadata">

**Author:** ![yeokiwi](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@yeokiwi](https://forums.developer.nvidia.com/u/yeokiwi)\
**Post date:** [July 28, 2022, 2:06pm UTC](https://forums.developer.nvidia.com/t/unable-to-run-helmholtz-py-after-installing-22-03-1/221919/7 "2022-07-28T14:06:49Z")

</div>

Hi @ngeneva ,

Thanks! It’s working correctly now.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)\
**Post date:** [August 11, 2022, 2:07pm UTC](https://forums.developer.nvidia.com/t/unable-to-run-helmholtz-py-after-installing-22-03-1/221919/8 "2022-08-11T14:07:17Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
