@@ -57,15 +57,9 @@ INSTALLATION
5757------------------------------------------------------------------------
5858
5959The preferred method is to use Anaconda Python and install from the
60- "conda-forge" channel of Anaconda packages. The `conda-forge ` channel
61- can be achieved by adding `conda-forge ` to your channels with ::
60+ "conda-forge" channel of Anaconda packages. `pdfgui ` can be installed with `conda ` ::
6261
63- conda config --add channels conda-forge
64- conda config --set channel_priority strict
65-
66- Once the `conda-forge ` channel has been enabled, `diffpy.pdffit2 ` can be installed with `conda ` ::
67-
68- conda install diffpy.pdffit2
62+ conda install -c conda-forge diffpy.pdfgui
6963
7064PDFgui can be then started from a terminal ("Anaconda Prompt" on
7165Windows) by executing the "pdfgui" program. An alternative
@@ -74,7 +68,10 @@ method on Windows is to start PDFgui through the DiffPy start menu.
7468If you don't use Anaconda or prefer to install from sources, make
7569sure the required software is all in place ::
7670
77- pip install wxpython==4.0.7 diffpy.utils diffpy.pdffit2 matplotlib
71+ pip install wxpython==4.0.7
72+ conda install matplotlib
73+ conda install -c conda-forge diffpy.utils
74+ pip install diffpy.pdffit2
7875
7976Then you are ready to install diffpy.pdfgui ::
8077
@@ -91,6 +88,15 @@ changing to the HOME directory and running ::
9188
9289 python -m diffpy.pdfgui.tests.rundeps
9390
91+ To use PDFgui, you can simply type `pdfgui `, or run the following command ::
92+
93+ python diffpy.pdfgui/src/diffpy/pdfgui/application/pdfgui.py
94+
95+ If it shows some error like "This program needs access to the screen.". For Mac, you could install `python.app ` from conda
96+ (`conda install python.app `), then run as follows ::
97+
98+ python.app diffpy.pdfgui/src/diffpy/pdfgui/application/pdfgui.py
99+
94100With Anaconda PDFgui can be later upgraded to the latest released
95101version using ::
96102
0 commit comments