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.
100
+
macOS (Arm64)
101
+
~~~~~~~~~~~
106
102
107
-
To install the C++ compiler and required dependencies in your ``diffpy.pdffit2_env`` environment, type ::
103
+
Create a new conda environment ``diffpy.pdffit2_env``: ::
108
104
109
-
conda install \
110
-
--file requirements/run.txt \
111
-
--file requirements/build.txt
105
+
conda create -n diffpy.pdffit2_env python=3.12
112
106
113
-
And then type ::
107
+
Install pdffit2 using ``pip`` to download and install the latest version from `Python Package Index <https://pypi.python.org>`_: ::
114
108
115
109
pip install diffpy.pdffit2
116
110
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