-
Notifications
You must be signed in to change notification settings - Fork 0
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
Struggling with pydantic-related architecture mismatch #93
Comments
I was able to do it after intense googling. I hope I didn't mess anything else up for myself. I did all this in my virtual environment, but I felt like the clueless dog meme TL;DR: All fixed, not sure if it is worth any extra trouble, staying open for now, but feel free to close if it's not worth it. |
In a related note, it may be nice to outline the proper procedure for adding a variable |
Thanks for reporting this and great that you could fix the issue on your system 👍 . We found that different operating systems, architectures, and related Python libraries can cause compatibility issues with DGL (see discussions here, though not with Pydantic. 🤔 Currently, there are GitHub Actions set up in this repository to check the dgl_ptm package's functionality on macOS ARM64, macOS x86_64, Linux, and Windows. The action workflows are defined here and here for macOS x86_64. |
Do you mean adding a variable to It would be helpful to include this information in the documentation for example contributing guidelines. I will add label |
I am not sure if this is because I installed pydantic as an afterthought or what, but I am getting an import error (featured below) relating to the architecture (probably a Mac thing?).
I am confident that I will find a work around once I understand how to fix it, but I would hate for this to be the reason that people cannot use the software; so, if there is any way to ensure maximum compatibility by instructing users to follow a certain series of steps, we should make a note of that in our documentation.
ImportError: dlopen(/opt/homebrew/lib/python3.10/site-packages/pydantic_core/_pydantic_core.cpython-310-darwin.so, 0x0002): tried: '/opt/homebrew/lib/python3.10/site-packages/pydantic_core/_pydantic_core.cpython-310-darwin.so' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/python3.10/site-packages/pydantic_core/_pydantic_core.cpython-310-darwin.so' (no such file), '/opt/homebrew/lib/python3.10/site-packages/pydantic_core/_pydantic_core.cpython-310-darwin.so' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64'))
The text was updated successfully, but these errors were encountered: