As instructed by @sbillinge, I tried the following steps:
> conda deactivate
> mamba create -n pdfgui-test311 python=3.11
> conda activate pdfgui-test311
> pip install diffpy.pdfgui==3.1.0rc4
> pdfgui
Pip installation works. But, I get the following error when I type pdfgui
imac@imacs-iMac ~ % pdfgui
Traceback (most recent call last):
File "/Users/imac/miniconda3/envs/pdfgui-test312/bin/pdfgui", line 8, in <module>
sys.exit(main())
^^^^^^
File "/Users/imac/miniconda3/envs/pdfgui-test312/lib/python3.12/site-packages/diffpy/pdfgui/applications/pdfgui.py", line 118, in main
import diffpy.pdfgui.gui.main as guimain
File "/Users/imac/miniconda3/envs/pdfgui-test312/lib/python3.12/site-packages/diffpy/pdfgui/gui/main.py", line 19, in <module>
import wx
ModuleNotFoundError: No module named 'wx'
I checked that the regular installation procedure worked:
CONDA_SUBDIR=osx-64 conda create -n pdfgui39 python=3.9
conda activate pdfgui39
conda config --env --set subdir osx-64
conda install -c conda-forge diffpy.pdfgui
pdfgui