Ansys Products

Ansys Products

Discuss installation & licensing of our Ansys Teaching and Research products.

How to solve the error named “Error loading library”

    • Kwangmin Chun
      Subscriber

      Hello. I am learning how to use "ansys.mechanical.core" in python. 

      While running examples provided by Ansys, I encountered an error. I believe the error occurs during the mesh generation process.

      So, I searched for related information online and tried various solutions including reinstalling Windows, but the issue persists.

      Could someone explain the cause of this error and how to fix it?

      Belows are the error message on vs-code, folder path on my computer and system information : 

       

      - Error message

      Error loading library: C:\Program Files\ANSYS Inc\ANSYS Student\v242\AISOL\bin\winx64\Ans.Meshing.DSMesherCOM.dll

      - Folder path

      - System info.

       . Windows 11 Education

       . Ansys Student 2024 R2

       Note :  I have also tried using Window 10 and Ansys student 2024 R1. And I got the same results. 

    • George Karnos
      Ansys Employee

      Hello Kwangmin,

      Does Workbench/Mechanical work without using PyMechanical?
      Can you run a simple Mechanical Analysis without errors?

    • Kwangmin Chun
      Subscriber

      Hello. Sorry for the late reply.
      I figured out why this error happened. It seems that PyQt5 library is affecting Pymachanical.
      Once I removed PyQt5, it runs smoothly. 

      However, PyQt5 is a really powerful and useful library, so I hope ansys can resolve this issue soon.

      Thank you so much. 

Viewing 2 reply threads
  • You must be logged in to reply to this topic.