-
Notifications
You must be signed in to change notification settings - Fork 21
Closed
Description
Hi there,
It looks like the latest version, v1.4.3, is not available for Mac Silicon and noarch. Are there plans for this release? I seemingly cannot use this code due to the following error in v1.4.0 (which I'm not actually sure is due to v1.4.0 or not):
$ conda create -n py3.10-Local-Structure-Modeling python=3.10 -y
$ conda activate py3.10-Local-Structure-Modeling
$ conda install -c conda-forge diffpy.pdffit2
$ pip install ipython
$ ipython
In [1]: from diffpy.pdffit2 import PdfFit
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
Cell In[1], line 1
----> 1 from diffpy.pdffit2 import PdfFit
File ~/miniforge3/envs/py3.10-Local-Structure-Modeling/lib/python3.10/site-packages/diffpy/pdffit2/__init__.py:25
16 """PDFfit2 - real space structure refinement program.
17 Classes:
18 PdfFit
19 Routines:
20 redirect_stdout
21 """
24 from diffpy.pdffit2.version import __version__, __date__
---> 25 from diffpy.pdffit2.pdffit import PdfFit
26 from diffpy.pdffit2.output import redirect_stdout
27 from diffpy.pdffit2.pdffit2 import is_element
File ~/miniforge3/envs/py3.10-Local-Structure-Modeling/lib/python3.10/site-packages/diffpy/pdffit2/pdffit.py:29
23 import six
25 # Load pdffit2 and output modules to the current namespace.
26 # Note that "import diffpy.pdffit2.output as output" would
27 # crash with AttributeError when executed during imports of
28 # parent packages.
---> 29 from diffpy.pdffit2 import pdffit2
30 from diffpy.pdffit2 import output
32 # helper routines
ImportError: cannot import name 'pdffit2' from partially initialized module 'diffpy.pdffit2' (most likely due to a circular import) (/Users/mc/miniforge3/envs/py3.10-Local-Structure-Modeling/lib/python3.10/site-packages/diffpy/pdffit2/__init__.py)
Any help would be appreciated! Thanks!
Metadata
Metadata
Assignees
Labels
No labels