Closed prjemian closed 2 years ago
Order of channels is very important. When defaults
is placed before conda-forge
, then a gsl
library is installed (2.7) which has mismatch with some other package expecting a different version (2.5).
This is a test install procedure that executes in about a minute:
micromamba create -y -n hklpy -f environment.yml
eval "$(micromamba shell hook --shell=bash)"
micromamba activate hklpy
pip install -e . --no-deps
python -c "import hkl; fourc=hkl.SimulatedE4CV('', name='fourc'); fourc.wh()"
after testing, switch back to prior environment:
conda deactivate
Important to note that the pygobject
package is the requirement that pulls in the proper gobject-inspection
library needed to connect the libhkl library with the Python code here. That explains the pivot from gobject-inspection
to pygobject
in the environment files and tests.