Error “No module named ‘xxx’” in “Calc Results by Python” Step

Symptom:

An error occurred when the “Calc Results by Python” Step was executed, indicating that “ModuleNotFoundError: No module named 'xxx'.”.

Possible causes:

The Python library was not installed successfully, or the installed Python library is incompatible with the version of Python integrated in Mech-Vision.

Solution:

Reinstall the corresponding Python libraries.

  1. Enter the directory where Python is stored in the Mech-Vision installation directory, such as D:Mech-Vision & Mech-Viz-1.8.2Mech-Vision\python.

  2. Open “Command Prompt” or “PowerShell” in the above directory.

  3. Type .\python.exe -m pip install xxx, and then press the Enter key.

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.