-
-
Notifications
You must be signed in to change notification settings - Fork 1
Installation for Windows
This document provides instructions for installing the GUI software moleditpy in a stable execution environment using the package manager Conda.
This procedure is designed to ensure library compatibility, which can often be an issue with GUI applications, by replicating the development environment and required library versions as closely as possible.
- Anaconda or Miniconda must be installed on your PC.
Users attempting to install this project with Python 3.14 may encounter installation failures.
The issue stems from a specific dependency conflict. A package this project depends on requires an older version of NumPy (e.g., numpy<2.0). However, no pre-compiled binary packages (wheels) are available for these older NumPy versions on Python 3.14.
Consequently, pip attempts to build this older NumPy from source. This process requires a C/C++ compiler (like Visual Studio Build Tools on Windows) and will fail on most standard user environments, leading to a compilation error.
To avoid this compilation issue, we strongly recommend using Python 3.11-3.13 for this project.
First, create a clean virtual environment dedicated to moleditpy.
-
Open the Conda Prompt
Find and launch "Anaconda Prompt" or "Miniconda Prompt" from the Windows Start Menu. -
Create a New Environment
Create an environment named moleditpy-env specifying a compatible Python version (e.g., 3.12).conda create -n moleditpy-env python=3.12
- If prompted with Proceed ([y]/n)?, type y and press Enter.
-
Activate the Created Environment
All subsequent operations will be performed within this new environment.conda activate moleditpy-envConfirm that the command prompt line now starts with (moleditpy-env).
With all the necessary dependencies in place, install moleditpy itself using pip.
- Install moleditpy with pip
Run the following command in the activated conda environment.If you want to install specific versions that are confirmed to be compatible, run this command:pip install moleditpy
pip install numpy==2.3.3 openbabel-wheel==3.1.1.22 PyQt6==6.9.1 QtPy==2.4.3 rdkit==2025.3.6 vtk==9.5.2 pyvista==0.46.3 pyvistaqt==0.11.3 moleditpy==1.9.4
Once the installation is complete, launch moleditpy as a GUI application. The initial launch may take some time.
- Run the Launch Command
In the command prompt (with moleditpy-env activated), execute the following:If the moleditpy GUI window appears, the environment setup is successful.moleditpy