No module named 'ansys.dpf'
See original GitHub issueHello, i try the code example from ansys page but i have this error
>>> from ansys.dpf import post
>>> from ansys.dpf.post import examples
>>> solution = post.load_solution(examples.multishells_rst)
>>> stress = solution.stress()
>>> stress.xx.plot_contour(show_edges=False)
from ansys.dpf import post
ModuleNotFoundError: No module named 'ansys.dpf'; 'ansys' is not a package
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
No module named 'ansys.dpf' · Issue #40 · pyansys/pydpf-post
I use python 3.7 and i install all modules but this error appears from ansys.dpf import post from ansys.dpf.post import examples solution ...
Read more >ansys-dpf-post - PyPI
The DPF-Post module is based on DPF Framework that been developed with a data framework that localizes the loading and post-processing within the...
Read more >PyDPF-Core — PyDPF-Core
dpf.core package provides a Python interface to DPF, enabling rapid postprocessing of a variety of Ansys file formats and physics solutions without ever...
Read more >Installing PyAnsys modules in a Virtual Environment - LinkedIn
Installing PyAnsys modules in a Virtual Environment ... If not, please visit the Ansys Customer Portal to download them:.
Read more >Introduction to Ansys Data Processing Framework
Module 03 covers DPF as a stand-alone tool. Module 01 to Module 03 do not require any knowledge about Ansys Mechanical. This learning...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’ve seen this problem before. Please make sure that you don’t have a
ansys.py
oransys
directory in your python path as Python will prioritize that over libraries in the site directory.Attempted to move issue. Unfortunately I don’t have write permission to dpf-post so I can’t transfer the issue within GitHub’s framework, however, the two threads seem to overlap significantly in content so it is probably not necessary to recreate all the comments as is on the other thread. For now I have opted to include screenshots of what was said here.