Re: [Phonopy-users] some thing wrong with my install during the lastest version of phonopy
Brought to you by:
atztogo
From: 陈洋 <che...@16...> - 2011-05-24 04:52:11
|
Hi: I have removed the file in the /usr/local/bin/,and set the PYTHONPATH to the new directory,but it still something wrong,the version is 0.9.3. 0.9.3 >> Traceback (most recent call last): >> File "/home/chenyang/vasp/phonopy-0.9.3/installl/bin/phonopy", line 236, in <module> unitcell = vasp.read_vasp( unitcell_filename ) > AttributeError: 'module' object has no attribute 'read_vasp' what's this mean? At 2011-05-24,"Atz Togo" <atz...@gm...> wrote: >Hi, > >The directory structure of phonopy was changed at phonopy-0.9.4. So >you have to remove old phonopy files installed in phonopy's >PYTHONPATH. >By the way, your phonopy seems to be installed under /usr/local/ >however your PATH setting is not there. If so, you have to remove your >phonopy files under /usr/local/lib/. > >Togo > >2011/5/24 陈洋 <che...@16...>: >> Dear A.Togo and phonopy users: >> >> >> >> I have used phonopy0.9.3 last year with good pleasure, but when I update >> the latest version, I found it doesn't work as before: >> >> >> >> when I run : >> >> phonopy -d --dim="2 2 1" >> >> the error message is : >> >> Traceback (most recent call last): >> >> >> >> File "/usr/local/bin/phonopy", line 25, in <module> >> >> >> >> import phonopy.hphonopy.file_IO as file_IO >> >> >> >> ImportError: No module named hphonopy.file_IO >> >> >> >> My ~/.bashrc have add the phonopy: >> >> PATH=$PATH:/home/chenyang/vasp/phonopy-0.9.4.3/install/bin/:/home/chenyang/vasp/phonopy-0.9.4.3/install/lib/python/ >> >> >> >> even if I want to reinstall the version 0.9.3, it doesn't work too: >> >> chenyang@chenyang-desktop:~/desktop/2010/GGA/0.95$ phonopy >> >> >> >> _ >> >> >> >> _ __ | |__ ___ _ __ ___ _ __ _ _ >> >> >> >> | '_ \| '_ \ / _ \| '_ \ / _ \ | '_ \| | | | >> >> >> >> | |_) | | | | (_) | | | | (_) || |_) | |_| | >> >> >> >> | .__/|_| |_|\___/|_| |_|\___(_) .__/ \__, | >> >> >> >> |_| |_| |___/ >> >> >> >> >> >> >> >> 0.9.3 >> >> >> >> Traceback (most recent call last): >> >> >> >> File "/usr/local/bin/phonopy", line 236, in <module> >> >> >> >> unitcell = vasp.read_vasp( unitcell_filename ) >> >> >> >> AttributeError: 'module' object has no attribute 'read_vasp' >> >> >> >> >> >> can someone help me ? >> >> ChenYang >> >> General Research Institute for nonferrous Metals >> >> che...@16... >> >> >> >> >> ------------------------------------------------------------------------------ >> vRanger cuts backup time in half-while increasing security. >> With the market-leading solution for virtual backup and recovery, >> you get blazing-fast, flexible, and affordable data protection. >> Download your free trial now. >> http://p.sf.net/sfu/quest-d2dcopy1 >> _______________________________________________ >> Phonopy-users mailing list >> Pho...@li... >> https://lists.sourceforge.net/lists/listinfo/phonopy-users >> >> > > > >-- >Atsushi Togo >http://atztogo.users.sourceforge.net/ >atz...@gm... |