This is a draft for a recipe to build a conda package of genx3 by A. Glavic.
Since we were facing difficulties with the installation of the genx package for windows, mainly regarding the dependencies, this is the attempt to provide a operation system independent conda package with pure conda dependencies that can be installed in a fresh conda environment with a single line command. Further this package integrates as app in the Anaconda Navigator.
We assume a running miniconda
or anaconda
installation (if needed, see this guide).
A miniconda installation is sufficient, however, in this case the Anaconda Navigator needs to be installed separately by running
conda install anaconda-navigator
in the terminal or (Anaconda Powershell on Windows).
To use this package in a fresh conda environment just run
conda create --name genx genx3 -c https://schreiber-lab.github.io/genx-conda-draft -c conda-forge
of cause the name of the conda environment can be chosen differently (in example above: genx
).
Alternatively, the package can be installed in an existing environment via
conda install genx3 -c https://schreiber-lab.github.io/genx-conda-draft
however, in this case one has to take care about conda-forge and a supported python version beforehand.
just click on the Launch
button of the genx-app in the Anaconda Navigator. Go get there, make sure you have selected to correct environment (genx
) in the Anaconda Navigator.
conda activate genx
to activate the proper conda environment and
genx
to start genx.
on Windows it is recommended to use the Anaconda Powershell for the following steps.
conda activate genx
to activate the proper conda environment and
genx_run
to start genx.
not yet tested!