Open XiaoyuJiang0129 opened 1 year ago
Hello @XiaoyuJiang0129,
It seems you have ansys-dpf-core==0.6.0
and ansys-grpc-dpf==0.7.1
installed in your Python environment.
For DPF to work with Ansys 2021R1
, could you please instead install ansys-dpf-core==0.2.1
and ansys-grpc-dpf==0.2.2
I am using this compatibility table.
Please also be aware that we do not include Ansys 2021R1
in our regression tests anymore, so it might be possible to experience issues when using the latest PyDPF-Post versions.
Before submitting the issue
Description of the bug
FileNotFoundError: DPF executable not found at "C:\Program Files\ANSYS Inc\v211\/aisol\bin\winx64". Unable to locate the executable "Ans.Dpf.Grpc.bat"
There is only a "Ans.Dpf.Grpc.exe" file under the above dir. Is it because my ANSYS was not installed correctely? My ANSYS version is 2021R1.
Steps To Reproduce
from ansys.dpf import post simulation = post.load_solution("D:\AnsysExamples\APDL_Examples\PyMAPDL_test\PyMAPDL_test.rst") print(simulation)
Which Operating System are you using?
Windows
Which Python version are you using?
3.7
Installed packages
ansys-api-fluent==0.3.10 ansys-api-mapdl==0.5.1 ansys-api-meshing-prime==0.1.1 ansys-api-platform-instancemanagement==1.0.0b3 ansys-dpf-core==0.6.0 ansys-dpf-gate==0.2.1 ansys-dpf-gatebin==0.3.1 ansys-dpf-post==0.2.5 ansys-fluent-core==0.11.0 ansys-grantami-bomanalytics==1.0.1 ansys-grantami-bomanalytics-openapi==1.0.0 ansys-grpc-dpf==0.7.1 ansys-mapdl-core==0.63.2 ansys-mapdl-reader==0.52.11 ansys-meshing-prime==0.2.0 ansys-openapi-common==1.1.1 ansys-platform-instancemanagement==1.0.2 ansys-seascape==0.2.0 appdirs==1.4.4 cachetools==5.3.0 certifi==2022.12.7 cffi==1.15.1 charset-normalizer==3.1.0 clr-loader==0.2.5 colorama==0.4.6 contourpy==1.0.7 cryptography==39.0.2 cycler==0.11.0 fonttools==4.39.2 geomdl==5.3.1 google-api-core==2.10.1 google-api-python-client==2.81.0 google-auth==2.16.2 google-auth-httplib2==0.1.0 googleapis-common-protos==1.56.4 grpcio==1.51.3 h5py==3.8.0 httplib2==0.21.0 idna==3.4 imageio==2.26.0 importlib-metadata==6.1.0 kiwisolver==1.4.4 matplotlib==3.7.1 numpy==1.24.2 packaging==23.0 pandas==1.5.3 Pillow==9.4.0 platformdirs==3.1.1 plumbum==1.8.1 pooch==1.7.0 protobuf==3.20.1 protoc-gen-swagger==0.1.0 psutil==5.9.4 pyaedt==0.6.3 pyansys==2023.1.3 pyasn1==0.4.8 pyasn1-modules==0.2.8 pycparser==2.21 pyiges==0.2.1 pyparsing==3.0.9 pypiwin32==223 pyspnego==0.8.0 python-dateutil==2.8.2 pythonnet==3.0.0rc6 pytwin==0.2.0 pytz==2022.7.1 pyvista==0.38.5 pywin32==305 requests==2.28.2 requests-negotiate-sspi==0.5.2 requests-ntlm==1.2.0 rpyc==5.0.1 rsa==4.9 scipy==1.10.1 scooby==0.7.1 six==1.16.0 tqdm==4.65.0 uritemplate==4.1.1 urllib3==1.26.15 vtk==9.2.6 zipp==3.15.0