PSCAD Automation Error using Python Script: "ModuleNotFoundError: No module named 'mhrc'"
I am using PSCAD 4.6.3 and have run the Automation Library installer. Python as been successfully installed. I am attempting to run the example code from PSCAD's website but I get the following error message in Python 3.7.2 Shell:
Python 3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 22:20:52) [MSC v.1916 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license()" for more information. >>> ============= RESTART: C:\... ...\step-00.py ============= Traceback (most recent call last): File "C:\... ...\step-00.py", line 2, in <module> import mhrc.automation ModuleNotFoundError: No module named 'mhrc'
The error is on th e line of code "import mhrc.automation". I'm not convinced that the Automation Library installer has placed the necessary library in the correct location. Unfortunately, I have found no references as to where it actually did get installed nor where it needs to be.
Open Feb 08, 2019 - 01:33 PM
Automation Library, mhrc, install