No Python Installation Could Be Found in DIAdem

Updated Jan 30, 2025

Reported In

Software

  • DIAdem

Issue Details

I am trying to select the Python version for DIAdem to use in DIAdem Settings>>Script with the User-defined option, but I receive an error:

No Python installation could be found
The user path does not contain a valid Python installation - Return to automatic.


pythonerrordiadem.png

Solution

This error is reported when selecting an incompatible Python version or when DIAdem cannot locate the Python installation folder correctly. To solve this error make sure to install one of the compatible Python versions and select its installation folder in the DIAdem settings.

As of DIAdem 2023 Q4, DIAdem supports Python versions 3.6, 3.7, 3.9, 3.10 and 3.11  (64-bit). If you try to select a path to Python 3.12 this error will be reported. For previous versions you can find the supported Python versions by checking the DIAdem release notes.

By default Python will be installed in C:\Users\<User>\AppData\Local\Programs\Python\<version>, if you change the Python installation path, make sure you are choosing the new path when configuring in DIAdem.

Additional Information

If you do not specify a path or the path does not contain a Python version supported by DIAdem, DIAdem also looks for a valid Python installation in the paths of the Windows Path system variable. For versions previous to 2023 Q2, if DIAdem cannot find a valid Python installation, DIAdem uses the Python version of the DIAdem installation which is Python 3.8 (64-bit), however, as of DIAdem 2023 Q2, DIAdem no longer installs Python.

If you are using DIAdem 2023 Q2 or a later version you can download Python from https://www.python.org/  and then install it in your computer.

An error message "Module PyWin32 is not installed." can be seen after installation of Python 3.11. There might be issues with this specific version in DIAdem 2023 Q4 and DIAdem 2024 Q2/Q4, as workaround you can install Python 3.11.8 which does not present this issue.