-
Notifications
You must be signed in to change notification settings - Fork 176
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
[BUG] Error when executing "dpgen -h" #1719
Comments
This bug will be fixed by: #1714 |
Ok. This looks acceptable as I don't see any disadvantage to use the new version. |
Thank you all for replying. I'm sorry but, does this mean this issue has been fixed? Do I need to upgrade to a new version to fix this issue on my machine? Greetings. |
Hi, I've released the new version that should fix this issue. |
Thank you so much. It works well now. |
Bug summary
I installed dpgen 0.13.0 using conda. Installation went smoothly. I tested the installation by issuing "dpgen -h" on the command line and got this output:
Traceback (most recent call last):
File "/home/llovera/miniconda3/envs/deepmd-3.0.1/bin/dpgen", line 5, in
from dpgen.main import main
File "/home/llovera/miniconda3/envs/deepmd-3.0.1/lib/python3.12/site-packages/dpgen/main.py", line 9, in
from dpgen.auto_test.run import gen_test
File "/home/llovera/miniconda3/envs/deepmd-3.0.1/lib/python3.12/site-packages/dpgen/auto_test/run.py", line 8, in
from dpgen.auto_test.common_equi import make_equi, post_equi, run_equi
File "/home/llovera/miniconda3/envs/deepmd-3.0.1/lib/python3.12/site-packages/dpgen/auto_test/common_equi.py", line 8, in
import dpgen.auto_test.lib.abacus as abacus
File "/home/llovera/miniconda3/envs/deepmd-3.0.1/lib/python3.12/site-packages/dpgen/auto_test/lib/abacus.py", line 7, in
from dpdata.abacus.scf import make_unlabeled_stru
ImportError: cannot import name 'make_unlabeled_stru' from 'dpdata.abacus.scf' (/home/llovera/miniconda3/envs/deepmd-3.0.1/lib/python3.12/site-packages/dpdata/abacus/scf.py)
DP-GEN Version
0.13.0
Platform, Python Version, Remote Platform, etc
Python version is 3.12.9
Input Files, Running Commands, Error Log, etc.
Error log in "Bug Summary" section.
Steps to Reproduce
Issue "dpgen -h" after installation using "conda install dpgen -c conda-forge".
Further Information, Files, and Links
No response
The text was updated successfully, but these errors were encountered: