You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The less preferred approach is the install using ``pip`` to download and install the latest release from `Python Package Index <https://pypi.python.org>`_. In this case you currently have to build the codes on your computer from the sources and you will have to have a C++ installer available.
108
+
macOS (Arm64)
109
+
~~~~~~~~~~~
106
110
107
-
To install the C++ compiler and required dependencies in your ``diffpy.pdffit2_env`` environment, type ::
111
+
Create a new conda environment ``diffpy.pdffit2_env`` ::
108
112
109
-
conda install \
110
-
--file requirements/run.txt \
111
-
--file requirements/build.txt
113
+
conda create -n diffpy.pdffit2_env python=3.12
112
114
113
-
And then type ::
115
+
Install pdffit2 using ``pip`` to download and install the latest version from `Python Package Index <https://pypi.python.org>`_ ::
114
116
115
117
pip install diffpy.pdffit2
116
118
117
-
If you prefer to install from sources, use the above ``conda install \ ..`` instruction to install the dependencies in ``run.txt`` and ``build.txt`` in ``diffpy.pdffit2_env`` , obtain the source archive from
118
-
`GitHub <https://github.com/diffpy/diffpy.pdffit2/>`_. Once installed, ``cd`` into your ``diffpy.pdffit2`` directory
0 commit comments