-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import issue with diffpy.pdffit2 #68
Comments
Thanks for this Brian. We are right now, as we speak, working on a new release of pdffit2 and pdfgui that brings it up to most recent Python. We can then address these errors. |
This seems to be addressed in diffpy.pdffit2-1.4.3, at least when tested on Intel Mac, but there does not seem to be a osx-arm64 version of diffpy.pdffit2 and the noarch versions are all 1.4.0. |
@briantoby we are working on the arm64. We hope to have one on pip shortly. It seems hard to build it on conda-forge. It would be great if you could help test hat we are doing. We have a conda-forge pre-release of pdfgui and pdffit2 for python 3.10-3.12:
We should have an arm64 wheel shortly on pip. I guess you need an arm64 build on conda-forge though, right? @Tieqiong and @bobleesj are working on these things. |
FWIW, I do my builds on GitHub and then push the created packages to conda-forge. An example is here: https://github.com/AdvancedPhotonSource/GSAS-II-buildtools/blob/main/.github/workflows/gsas2pkg.yml I was never able to get builds on conda-forge to work for me. |
Thanks @briantoby we are kind of working out way back to a similar solution so seeing yours is helpful. Not quite as the easy back there yet... |
Installing diffpy.pdffit2 via conda results in a package that cannot be loaded. I used this command to create a separate Python interpreter with PDFfit2:
This installs Py3.12, gsl, pycifrw, diffpy.structure and many more standard packages (such as numpy).
The package fails to be imported, with the following error:
The same error occurs (with different file paths) if I install diffpy.pdffit2 into the base Python using command
The text was updated successfully, but these errors were encountered: