Skip to content

Commit

Permalink
DOC: move pyqt pin warning above usual install cmd, so people are les…
Browse files Browse the repository at this point in the history
…s likely to miss it. Also remove python 3.8 since 3.7-3.10 should work.
  • Loading branch information
nstelter-slac committed Dec 10, 2024
1 parent c4be6f3 commit 91e2525
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/source/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@ 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.

In order to use PyDM widgets in designer, please make sure to pin the PyQt version to 5.12.3 or lower
until this is resolved.

$ conda create -n pydm-environment python=3.8 pyqt=5.12.3 pip numpy scipy six psutil pyqtgraph pydm -c conda-forge
$ conda create -n pydm-environment python=3.10 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.10 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.

Expand Down

0 comments on commit 91e2525

Please sign in to comment.