You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pymatgen unknown version or path
monty 2022.9.9 /public/home/ZT/.conda/envs/ZT-py39/lib/python3.9/site-packages/monty
ase 3.22.1 /public/home/ZT/.conda/envs/ZT-py39/lib/python3.9/site-packages/ase
paramiko 3.0.0 /public/home/ZT/.conda/envs/ZT-py39/lib/python3.9/site-packages/paramiko
custodian 2022.5.26 /public/home/ZT/.conda/envs/ZT-py39/lib/python3.9/site-packages/custodian
Moreover, when I run the small test of CH4 in the ini file, using command " dpgen init_bulk param.json", it report an error
( File "/public/home/zhangtao/anaconda3/envs/ZT-py39/lib/python3.9/site-packages/pymatgen/core/structure.py", line 2518, in to
raise ValueError(f"Invalid format: {str(fmt)}")
ValueError: Invalid format: `ch4.poscar.01x01x01/00.place_ele/poscar )
, which has been discussed in this community before. According to the answer, it is the incompatibility problem of pymatgen. the developer also said he has fixed it(This error has been fixed by #1085 and #1126. Please update the code.). So I use command "pip install dpgen" reinstalled dpgen, and I still meet this problem and "pymatgen unknown version and path".
So, Whether the version of dpgen 0.11.0 has fixed this problem or there are some other problem also could acount for this?
The text was updated successfully, but these errors were encountered:
I suspect it is due to a version incompatibility issue. I have provided a temporary solution. You can see the code in the error prompt:
#minor bug for element symbol behind the coordinates
from_struct=Structure.from_file(from_file)
from_struct.make_supercell(super_cell)
from_struct.to('poscar', to_file)
but this method in pymatgen .core.structure line 2460, the parameters are :
(ZT-py39) [ZT@master ~]$ dpgen -h
DeepModeling
Version: 0.11.0
Path: /public/home/ZT/.conda/envs/ZT-py39/lib/python3.9/site-packages/dpgen
Dependency
pymatgen unknown version or path
monty 2022.9.9 /public/home/ZT/.conda/envs/ZT-py39/lib/python3.9/site-packages/monty
ase 3.22.1 /public/home/ZT/.conda/envs/ZT-py39/lib/python3.9/site-packages/ase
paramiko 3.0.0 /public/home/ZT/.conda/envs/ZT-py39/lib/python3.9/site-packages/paramiko
custodian 2022.5.26 /public/home/ZT/.conda/envs/ZT-py39/lib/python3.9/site-packages/custodian
Moreover, when I run the small test of CH4 in the ini file, using command " dpgen init_bulk param.json", it report an
error
( File "/public/home/zhangtao/anaconda3/envs/ZT-py39/lib/python3.9/site-packages/pymatgen/core/structure.py", line 2518, in to
raise ValueError(f"Invalid format:
{str(fmt)}
")ValueError: Invalid format: `ch4.poscar.01x01x01/00.place_ele/poscar )
, which has been discussed in this community before. According to the answer, it is the incompatibility problem of pymatgen. the developer also said he has fixed it(This error has been fixed by #1085 and #1126. Please update the code.). So I use command "pip install dpgen" reinstalled dpgen, and I still meet this problem and "pymatgen unknown version and path".
So, Whether the version of dpgen 0.11.0 has fixed this problem or there are some other problem also could acount for this?
The text was updated successfully, but these errors were encountered: