python-scipyisalsorequiredtousephonopy-qhaorDEBYE_MODELtag.
Thepythonlibrariesarealsopossibletobeinstalledusingpiporconda.
Thetexlive-fonts-recommendedpackagemayberequired,ifyouseethefollowingmessageinplotingresults:
OccasionallyPyPIandcondapackagesarepreparedatphonopyreleases.Usingthesepackages,thephonopyinstalltionisexpectedtobeeasilydone.
Numpyisrequiredbeforethepython-spglibinstallation.Thecommandtoinstallspglibis:
Ifyouseetheerrormessagelikebelowintheinstallationprocess:
developmenttoolsforbuildingpythonmoduleareadditionallynecessaryandareinstalledusingOS’spackagemanagementsystem,e.g.,:
CondaisanotherchoiceforLinux(64bit)users:
CurrentlycondapackagesfortheotherOS,e.g.,Macandwindows,arenotpreparedbythemaindevelopersofphonopy.
Ifpackageinstallationisnotpossibleoryouwanttocompilewithspecialcompilerorspecialoptions,phonopyisbuiltusingsetup.py.Inthiscase,manualmodificationofsetup.pymaybeneeded.
在Ubuntu下安装
执行
安装成功后,显示....
Installingphonopyscriptto/home/xiaoqiu/.local/bin
Installingphonopy-qhascriptto/home/xiaoqiu/.local/bin
Installinggruneisenscriptto/home/xiaoqiu/.local/bin
Installingoutcar-bornscriptto/home/xiaoqiu/.local/bin
Installingdispmanagerscriptto/home/xiaoqiu/.local/bin
Installingpropplotscriptto/home/xiaoqiu/.local/bin
Installed/home/xiaoqiu/.local/lib/python2.7/site-packages/phonopy-1.11.8-py2.7-linux-x86_64.egg【egg什么意思】
Processingdependenciesforphonopy==1.11.8
Searchingforh5py==2.6.0
Bestmatch:h5py2.6.0
Addingh5py2.6.0toeasy-install.pthfile
Using/usr/lib/python2.7/dist-packages
Searchingformatplotlib==1.5.1
Bestmatch:matplotlib1.5.1
matplotlib1.5.1isalreadytheactiveversionineasy-install.pth
SearchingforPyYAML==3.11
Bestmatch:PyYAML3.11
PyYAML3.11isalreadytheactiveversionineasy-install.pth
Searchingfornumpy==1.11.0
Bestmatch:numpy1.11.0
numpy1.11.0isalreadytheactiveversionineasy-install.pth
Finishedprocessingdependenciesforphonopy==1.11.8
exportPYTHONPATH=~/phonopy-1.11.2/lib/python
exportPYTHONPATH=/home/xiaoqiu/Downloads/phonopy-1.11.8/lib/python