From 2201a7ece3a15b3527e6b5e503d435b00e154473 Mon Sep 17 00:00:00 2001 From: nstelter-slac Date: Mon, 2 Dec 2024 19:08:46 -0800 Subject: [PATCH] DOC: move pyqt pin warning above usual install cmd, so people are less likely to miss it. Also remove python 3.8 since 3.7-3.10 should work. --- docs/source/installation.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/source/installation.rst b/docs/source/installation.rst index 034bf58c8..20523536a 100644 --- a/docs/source/installation.rst +++ b/docs/source/installation.rst @@ -14,12 +14,6 @@ Please note, this guide is written with Unix in mind, so there are probably some Installing PyDM and Prerequisites with Anaconda ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -After installing Anaconda (see https://www.anaconda.com/download/), create a new -environment for PyDM:: - - $ conda create -n pydm-environment python=3.8 pyqt=5 pip numpy scipy six psutil pyqtgraph pydm -c conda-forge - $ source activate pydm-environment - .. warning:: There is currently no PyQt 5.15+ build available on conda or PyPI that has designer support for python plugins. PyDM widgets will not load in these designer versions. @@ -29,6 +23,12 @@ environment for PyDM:: $ conda create -n pydm-environment python=3.8 pyqt=5.12.3 pip numpy scipy six psutil pyqtgraph pydm -c conda-forge +After installing Anaconda (see https://www.anaconda.com/download/), create a new +environment for PyDM:: + + $ conda create -n pydm-environment python=3.8 pyqt=5 pip numpy scipy six psutil pyqtgraph pydm -c conda-forge + $ source activate pydm-environment + Once you've installed and activated the environment, you should be able to run 'pydm' to launch PyDM, or run 'designer' to launch Qt Designer. If you are on Windows, run these commands from the Anaconda Prompt. On MacOS, launching Qt Designer is a little more annoying: