• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. RF Design
  3. Error with launching Python Script Via AWRDE VBA Script

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 64
  • Views 5342
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Error with launching Python Script Via AWRDE VBA Script

siddhant0108
siddhant0108 over 1 year ago

Hello Team,
I am currently following this AWR script posted on them, to run a python script directly from inside AWR using VBA script.

Launching Python from AWRDE VBA Script - AWR Scripts - AWR Knowledgebase

Following all the basic steps with no changes to the code. I have Vscode and python-3.12.2 installed in my system. 

This is the error I am getting while running this code. 

  

Thank you for your help 

Best Regards

SID

  • Cancel
  • cdsba
    cdsba over 1 year ago

    Try changing the line

    DirPath = "C:\PythonDirectory\"

    to point to the directory on your computer where your Python scripts are stored

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • siddhant0108
    siddhant0108 over 1 year ago in reply to cdsba

    I tried that on my system , getting the same error 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • cdsba
    cdsba over 1 year ago in reply to siddhant0108

    Please file a support ticket so we can address your specific issue

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information