Skip to content

Installation from source

If the relevant EasyDiffraction installation does not work on your system, then please try running it from source.

  • Clone EasyDiffractionBeta repo (master branch) from GitHub, e.g. using
    $ git clone https://github.com/easyscience/EasyDiffractionBeta
    
  • Go to EasyDiffractionBeta directory
    $ cd EasyDiffractionBeta
    
  • Create Python environment and activate it
    $ python3.11 -m venv .venv
    $ source .venv/bin/activate
    
  • Upgrade PIP and install dependences
    $ pip install --upgrade pip
    $ pip install numpy lmfit numdifftools
    $ pip install orjson jsbeautifier
    $ pip install git+https://github.com/ikibalin/cryspy.git@beta
    $ pip install git+https://github.com/easyscience/EasyApp.git@new-easy-app2
    
  • Launch EasyDiffraction application using Python
    $ cd easyDiffractionApp
    $ python main.py