Ansys Free Student Software

Ansys Free Student Software

Topics cover installation and configuration of our free student products.

Installation help for Electronics Workbench 2025 R2

    • poulson
      Subscriber

      Hi, I seem to have a problem with the install, and hoping the forum can help me get past it. As a note, I installed a different package (ANSYSACADEMICSTUDENT_2024R2.2WINX64) and had no issues.  So I am wondering what is the problem?

      This is the Install.err file for ELECTRONICSSTUDENT_2025R2_WINX64. 

      >>>--------------------------------------->
      Ansys installation: Sun Aug 03 14:19:32 2025
      Revision: 2025 R2

         ###### Error #######
         Error executing custom python script configuration for 'C:\Program Files\ANSYS Inc\ANSYS 2025 R2\v252\installer\dev_configs\electronicsstudent\EM_config.py'
         'C:\Program Files\ANSYS Inc\ANSYS 2025 R2\v252\commonfiles\CPython\3_10\winx64\Release\python\python.exe' terminated after 1 attempts with the following error(s): 
             Process crashed
         Exit Code: -1073741795
      >>>--------------------------------------->

    • poulson
      Subscriber

       

      More details, it looks like the EM_config.py has some undefined enviroment variabler in the os import.  This is from executing the python script after the install.

      (Program executes to line 264)

      >>>>>>>>>>>>>>>>>>>>>>>>>

      Configuring Electromagnetics Suite…

      Warning: C:\Promgam Files\ANSYS Inc\v\AnsysEM\product.info doesn’t exist
      Traceback (most recent call last):
        File “C:\Program Files\ANSYS Inc\ANSYS 2025 R2\v252\installer\dev_configs\electronicsstudent\EM_config.py”, line 339, in
          configure_temp_dir (args.unconfig)
        File “C:\Program Files\ANSYS Inc\ANSYS 2025 R2\v252\installer\dev_configs\electronicsstudent\EM_config.py”, line 117, in configure_temp_dir
          with open(def_cfg, ‘r’) as file:

      FileNotFoundError: [Errno 2] No such file or directory: ‘C:\\Promgam Files\\ANSYS Inc\\v\\AnsysEM\\config\\default.cfg'

      >>>>>>>>>>>>>>>>>>>>>>>

      So I am gathereing,  either the envirement isn’t being set or there is an error in the script,…. 

       

    • poulson
      Subscriber

      Problem solved.  Need to manually set the ANSYS_INSTALL_DIR (ANSYS Student ) anad ANSYS_VERSION (252 <default>) in the system variables.

      Add the Install directory path, "C:\Program Files\ANSYS Inc\ANSYS Student <default>"

      run,... python.exe EM_config.py from a cmd window with administrator privileges.

      That is what worked for me, to complete the install and set the start menu links.

    • Ashish Khemka
      Forum Moderator

      Thanks for the update!

      Regards,

      Ashish Khemka

    • alessandro.brugnoni01
      Subscriber

       

      Dear Poulson,
      I’m experiencing the same issue. As you said I tried to change the EM_config.py file as follows:

      {

       

      install_dir = "C:\\Program Files\\ANSYS Inc\\ANSYS Student"
      version_dir = "252"

      year_version = "20" + version_dir [0:2] + "." + version_dir [2]
      install_base = install_dir + "\\v" + version_dir + "\\AnsysEM"

       


      }

      Then, I ran the cmd.exe as administrator and typed:

       
      {

      cd C:\Program Files\ANSYS Inc\ANSYS Student\v252\installer\dev_configs\electronicsstudent

      }

      This appears:

      {
      Configuring Electromagnetics Suite…
      Warning: \v\AnsysEM\product.info doesn’t exist
      Traceback (most recent call last):
        File “C:\Program Files\ANSYS Inc\ANSYS Student\v252\installer\dev_configs\electronicsstudent\EM_config.py”, line 339, in
          configure_temp_dir (args.unconfig)
        File “C:\Program Files\ANSYS Inc\ANSYS Student\v252\installer\dev_configs\electronicsstudent\EM_config.py”, line 117, in configure_temp_dir
          with open(def_cfg, ‘r’) as file:
               ^^^^^^^^^^^^^^^^^^
      OSError: [Errno 22] Invalid argument: ‘\\v\\AnsysEM\\config\\default.cfg'

      }

      Could you help with this issue, please?
      Thank you in advance.

       

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