-
Notifications
You must be signed in to change notification settings - Fork 40
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
ModuleNotFoundError: No module named 'pymatgen.plotting' #891
Comments
Please post the entire error message and traceback, including the code you are trying to run. It is impossible to answer your question otherwise. This package never tries to import |
from pymatgen.io.cif import CifParser 读取 CIF 文件parser = CifParser("mp-6127.cif") 可选:如果你想调整晶体结构到原胞,可以使用 SpacegroupAnalyzeranalyzer = SpacegroupAnalyzer(structure) 使用 BSPlotter 可视化晶体结构plotter = BSPlotter(structure) 如果你想将可视化结果保存为图像文件,你也可以使用 Matplotlibplt.savefig("structure.png") that‘s all. please tell how to improve it thanks |
Dear @xiaowangfeng , It feels like a lot of code is actually missing to do the required tasks. Or use the matsci Forum for further help: In general, your requests need to be much more specific, also for the forum. Here, the issues are meant for actual software bugs, not general help requests. I hope you can understand this. |
Sorry, I am a novice to materials chemistry. I downloaded some data through materials project and wanted to realize the visualization of.cif through pymatgen, but the code kept giving errors. In desperation, I want to ask for help through here, thank you |
Once again, I'm sorry for my behavior |
I very well understand this. This is why I am pointing to the tutorials that have been made for the purpose and the forum that can be used to ask questions. :) |
how to solve the question, I want to visualize .cif file.
The text was updated successfully, but these errors were encountered: