ansys / pyaedt

AEDT Python Client Package
https://aedt.docs.pyansys.com
MIT License
203 stars 122 forks source link

Bug located in SBR+ example "SBR+: Import Geometry from Maps" #4758

Closed pradeep-maharana closed 4 months ago

pradeep-maharana commented 4 months ago

Before submitting the issue

Description of the bug

Customer is getting error while executing the SBR+ pyaedt example script. The error is related to missing external packages. All the packages are installed using pip except srtm. I tried installing various packages for srtm (pip install python-srmt, pip install srtm4). But getting error that srtm has no attribute get_data (because of incorrect package). Please provide the package name for srtm module. pip install srtm does not work as expected. image image image

Steps To Reproduce

pip install srtm does not work as expected. Missing srtm package to run SBR+ pyaedt example to import geometry from maps.

Which Operating System are you using?

Windows

Which Python version are you using?

3.10

Installed packages

aiohttp==3.9.5 aiosignal==1.3.1 annotated-types==0.6.0
ansys-pythonnet==3.1.0rc3 asttokens==2.4.1 async-timeout==4.0.3
attrs==23.2.0 certifi==2024.2.2
cffi==1.16.0 charset-normalizer==3.3.2 click==8.1.7 click-plugins==1.1.1
cligj==0.7.2 clr-loader==0.2.6
colorama==0.4.6 comm==0.2.2 contourpy==1.2.1 cycler==0.12.1 debugpy==1.8.1 decorator==5.1.1 defusedxml==0.7.1
exceptiongroup==1.2.0
executing==2.0.1 filelock==3.14.0 fiona==1.9.6 fonttools==4.51.0 fpdf2==2.7.8 frozenlist==1.4.1 geopandas==0.14.4 idna==3.7 ipykernel==6.29.4 ipython==8.23.0 jedi==0.19.1 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 jupyter_client==8.6.1 jupyter_core==5.7.2 kiwisolver==1.4.5 matplotlib==3.8.4 matplotlib-inline==0.1.7 more-itertools==10.2.0 msgpack==1.0.8 multidict==6.0.5 nest-asyncio==1.6.0 networkx==3.3 numpy==1.26.4 osmnx==1.9.3 packaging==24.0 pandas==2.2.2 parso==0.8.4 pillow==10.3.0 platformdirs==4.2.0 plumbum==1.8.2 pooch==1.8.1 prompt-toolkit==3.0.43 psutil==5.9.8 pure-eval==0.2.2 pyaedt==0.8.8 pycparser==2.22 pydantic==2.6.4 pydantic_core==2.16.3 pyedb==0.7.1 Pygments==2.17.2 pyparsing==3.1.2 pyproj==3.6.1 python-dateutil==2.9.0.post0 python-srtm==0.5.0 pytomlpp==1.0.13 pytz==2024.1 pyvista==0.43.8 pywin32==306 pyzmq==26.0.0 referencing==0.34.0 requests==2.31.0 rpds-py==0.18.0 rpyc==6.0.0 scooby==0.10.0 shapely==2.0.4 six==1.16.0 stack-data==0.6.3 toml==0.10.2 tornado==6.4 traitlets==5.14.2 trame==3.6.0 trame-client==3.0.2 trame-server==3.0.0 typing_extensions==4.11.0 tzdata==2024.1 urllib3==2.2.1 utm==0.7.0 vtk==9.3.0 wcwidth==0.2.13 wslink==2.0.2 yarl==1.9.4

pradeep-maharana commented 4 months ago

pip install pyaedt[all] solved the problem. Thanks.