-
-
Notifications
You must be signed in to change notification settings - Fork 1
Installation for macOS
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.
- Anaconda or Miniconda must be installed on your Mac.
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, which will fail on most standard user environments.
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 Terminal
- 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.Confirm that the terminal prompt now starts with (moleditpy-env).conda activate 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.2.6
Once the installation is complete, launch moleditpy as a GUI application.
-
Run the Launch Command
In the terminal (with moleditpy-env activated), execute the following:moleditpy
If the moleditpy GUI window appears, the environment setup is successful.