The log reported an error: No module named ‘xxx’

You are currently viewing the documentation for version 1.8.2. To access documentation for other versions, click the "Switch Version" button located in the upper-right corner of the page.

■ To use the latest version, visit the Mech-Mind Download Center to download it.

■ If you're unsure about the version of the product you are using, please contact Mech-Mind Technical Support for assistance.

Symptom:

The Console tab in the Log panel in Mech-Vision shows the error message “No module named ‘xxx’”.

Affected Software Versions:

All versions

Possible Cause:

The corresponding Python libraries were not installed.

Solution:

Lower than 1.6.0:

  1. Use the shortcut key WIN + R to open the Run window.

  2. Type cmd and click OK to open the cmd window.

  3. Type pip uninstall xxx, and then press Enter to uninstall the corresponding libraries.

  4. Type pip install xxx, and then press Enter to install the corresponding libraries.

Above 1.6.0:

  1. Open the Python folder in the installation directory of the communication component.

  2. Type cmd in the address bar and click Enter to open the cmd window.

  3. Type .\python.exe -m pip uninstall xxx, and then press Enter to uninstall the corresponding libraries.

  4. Type .\python.exe -m pip install xxx, and then press Enter to install the corresponding libraries.

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.