-
Notifications
You must be signed in to change notification settings - Fork 6
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
pyvXray plugin installation inquiry #11
Comments
Hi @weirui810, It's been a while since I've used this repo actually. And I haven't tried it on a recent version of Abaqus. It should be much easier to install on recent Abaqus versions that have Python 3 and now also abqPip. If you try to install a recent version of PIL/Pillow in Abaqus it probably won't work (you would need a version that uses Python 2.7, which would be from around 2019). What version of Abaqus are you using? |
Thank you very much for getting back to me. I am using Abaqus 2022, which indeed comes with Python 2.7. I've made sure that the PIL I've installed is the correct version that matches Python 2.7, and I'm working with the latest master version of pyvXray. Despite these efforts, I'm still facing the ImportError: DLL load failed issue when trying to import the PIL.Image class within the Abaqus Python environment. I suspect this might be due to some compatibility issues with the PIL/Pillow and Abaqus 2022. I understand that it's been a while since you last used this repository, and the environment might have changed since then. However, I was wondering if you might have come across any similar issues in the past or if you have any suggestions for troubleshooting this particular problem? |
I can have a look into it and offer some suggestions. To help, could you please tell me:
|
Just thinking - If using an older Abaqus version (using Python 2.7), there is a way to still call an external python environment that could be the latest python (>=3.9) with the latest Pillow installed here (rather than the Abaqus python). This approach would avoid issues installing into Abaqus python. |
Thank you for offering to look into this issue and provide suggestions.
For your suggestion to use an external Python environment with the latest Pillow for generating virtual X-rays, it could indeed bypass the compatibility issues I'm facing with the Abaqus 2022 Python 2.7 environment. |
I encountered difificulties while attempting to install and utilize the pyvXray plugin. Specifically, I have been facing difficulties with importing the PIL module within the Abaqus Python environment, resulting in an ImportError: DLL load failed.
I am wondering if you or any member of your team has previously encountered a similar issue during the installation process of the pyvXray plugin. If so, I would be grateful if you could share any solutions or workarounds that proved effective for you.
In the event that your team has not faced this particular problem, would it be possible for you to provide details of your environment configuration that allowed the successful installation and operation of the pyvXray plugin?
The text was updated successfully, but these errors were encountered: