Contact Us

If you still have questions and are an active SimuTech customer, please submit a request.

  • Ansys Training
  • Skills Center
  • Consulting
  • About
  • Contact Support
  • Home

  • Installation

      • Troubleshooting

          • Errors & Solutions

              • License Management

                  • Info

                      • Remote Solve Manager

                          • Employee Login

                          Can't find what you're looking for?

                          Contact Support

                          Installation & Licensing Center

                          • Home
                          • Installation
                            Installation Guides Installation Tasks Requirements & Info Optional Configurations Uninstallation
                          • Troubleshooting
                            Troubleshooting Guides License Manager Connectivity Issues License Checkout Issues Application Functionality Issues Windows OS / Hardware Issues CAD Plugin Issues Project Specific Issues Uninstallation Guides Diagnostic Resources & Logs Other Tasks
                          • Errors & Solutions
                            Behavior Based Issues & Solutions Error Messages & Solutions
                          • License Management
                            FlexNet Licensing Shared Web Licensing Elastic Licensing Licensing Portal Administration License Borrowing Reporting & Usage Stats Other
                          • Info
                          • Remote Solve Manager
                          + More

                          ERROR - cx_Freeze: Python error / ImportError: DLL load failed

                          Authored by Caleb Scharf August 23rd, 2023 3783 views 0 likes KB2135261

                          ERROR

                          When trying to refresh a system in mechanical workbench, the following error occurs.

                           

                          Error Text

                          cx_Freeze: Python error in main script

                          Traceback (most recent call last):
                          File
                          "C:\ANSYSDev\tfs_agent\_work\258\s\bin\release\python\lib\site-packages\oc_Freeze\initscripts\_startup__.py', line 74, in run
                          File
                          "C:\ANSYSDev\tfs_agentVwork\258\s\felyx\install\acp\acp_console.py", line 54, in run
                          File “felyx\python\compolyx_gui\ACP.py” line 17, in <module>
                          File
                          “c:\ansysdev\tfs_agentVwork\258\s\felyx\python\compolyx_gu i\run_gui_mode.py”, line 4, in <module>
                          File
                          “c:\ansysdev\tfs_agentVwork\258\s\felyx\python\compolyx\__init__.py”, line 72, in <module>
                          File
                          "c:\ansysdev\tfs_agent\_work\258\s\felyx\python\compolyx\db.py", line 23, in <module>
                          File
                          c:\ansysdev\tfs_agent\_work\258\s\felyx\python\compolyx\model.py" line 92, in <module>
                          File
                          "c:\ansysdev\tfs_agentVwork\258\s\felyx\python\compolyx\api p_data_collector.py*, line 14, in <module>
                          File
                          “C:\ANSYSDev\tfs_agentVwork\258\s\bin\release\python\Lib\si te-packages\ansys\pyapip\apip.py”, line 11, in <module.
                          ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.

                           

                          Software & Version

                          Workbench 2020R2

                          *This example was taken from this version but is not necessarily limited to this version.

                          Description/Cause

                          In this case, the Ansys installation became corrupt for an unknown reason.  A standard uninstall/install did not resolve the issue. 

                          *The cause(s) we identified in this documented instance may not be the only cause(s) for this error.

                          Solution

                          1. Comprehensively Reinstall Ansys

                          Was this helpful?

                          Yes
                          No

                          0 out of 2 found it helpful

                          Related Articles

                          ERROR - Failover feature Ansys IcePak is not available

                          ERROR - Ansys License Manager Won't Start

                          ERROR - Connection Timed Out While Reading Data

                          ERROR - Could not connect to any License Server

                          Popular Articles

                          Ansys Download & Installation Guide (Start Here!)

                          INFO - Ansys Hardware Recommendations & Supported 3rd Party Software

                          HOW TO - Uninstall Ansys Software

                          HOW TO - Test & Fix FlexNet License Manager Connectivity Issues

                          ERROR - Hostid in the license file is not a valid hostid

                          Was this helpful?

                          Yes
                          No
                          Give feedback about this article

                          Can't find what you're looking for?

                          Contact Support

                          Recently Updated

                          • HOW TO - Reset Your Ansys Profile Folder
                          • ERROR - Mechanical failed to open the database
                          • HOW TO - Troubleshoot a Windows Bluescreen (BSOD)
                          • HOW TO - Clear Shared Web Licensing Credential Cache
                          • HOW TO - Generate a Personal Access Token for an Unattended Workflow
                          • HOW TO - Borrow & Return an Ansys License
                          • ERROR - Ribbon/Toolbar Missing From Fluent
                          • HOW TO - Manage Users & Groups for Shared Web Licensing
                          • ERROR - Tomcat Vulnerability CVE-2025-24813 detected in Ansys License Manager
                          • General Inquiries & Sales:
                          • (800) 566-9190
                          • Info@SimuTechGroup.com
                          • Contact Support
                          • Software
                          • Services
                          • Case Studies
                          • Ansys Training
                          • Consulting
                          • Technical Support
                          • About SimuTech
                          • Careers
                          • Privacy

                          © 2025 SimuTech Group


                          Knowledge Base Software powered by Helpjuice

                          Definition by Author

                          0
                          0
                          Expand NEW TAB

                          Hi there! 👋

                          How are you liking the Installation Center?

                          Terrible

                          Bad

                          OK

                          Good

                          Excellent

                          Feedback Successfully submitted