<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Times New Roman">I encountered an installation <font
color="#ff0000">error</font> when trying to install phonopy
1.10.5, but it seems that I was able to get around it by <font
color="#000099">creating a blank "__nanoversion__.txt"</font>
file in the </font><font face="Times New Roman"><font
color="#006600" face="Times New Roman">phono3py-1.10.5 folder</font>:<br>
<font color="#999999"><br>
username@computername:~$</font> wget
<a class="moz-txt-link-freetext" href="https://sourceforge.net/projects/phonopy/files/phono3py/phono3py-1.10.5.tar.gz">https://sourceforge.net/projects/phonopy/files/phono3py/phono3py-1.10.5.tar.gz</a><br>
<font color="#999999">...</font><br>
<font color="#999999">username@computername:~$</font> tar xvfz
phono3py-1.10.5.tar.gz <br>
<font color="#999999">...<br>
username@computername:~$</font> <font color="#006600">cd
phono3py-1.10.5/</font><br>
<font color="#999999"><a class="moz-txt-link-abbreviated" href="mailto:username@computername:~/phono3py-1.10.5$">username@computername:~/phono3py-1.10.5$</a></font>
python setup.py install --home=/home/username/phono3py-1.10.5<br>
Note: "username" in the above line should be changed to what you
use.<br>
<br>
<font color="#ff0000">Traceback (most recent call last):<br>
File "setup.py", line 93, in <module><br>
with open('__nanoversion__.txt') as nv:<br>
IOError: [Errno 2] No such file or directory:
'__nanoversion__.txt'</font><br>
<br>
<font color="#999999">username@computername:<font color="#006600">~/phono3py-1.10.5</font>$</font>
<font color="#000099">touch __nanoversion__.txt</font><br>
<font color="#999999"><a class="moz-txt-link-abbreviated" href="mailto:username@computername:~/phono3py-1.10.5$">username@computername:~/phono3py-1.10.5$</a></font>
python setup.py install --home=/home/username/phono3py-1.10.5<br>
...<br>
<font color="#999999"><a class="moz-txt-link-abbreviated" href="mailto:username@computername:~/phono3py-1.10.5$">username@computername:~/phono3py-1.10.5$</a></font>
gedit ~/.bashrc<br>
Added (and saved) the following two lines at the end of the
.bashrc:<br>
export PYTHONPATH=$PYTHONPATH:~/phono3py-1.10.5/lib/python<br>
export PATH=$PATH:~/phono3py-1.10.5/bin<br>
Note: "~/phono3py-1.10.5" in the above two lines should be changed
to where you installed phonopy (or </font><font face="Times New
Roman"><font face="Times New Roman">phono3py</font>).<br>
<font color="#999999"><a class="moz-txt-link-abbreviated" href="mailto:username@computername:~/phono3py-1.10.5$">username@computername:~/phono3py-1.10.5$</a></font>
source ~/.bashrc<br>
<font color="#999999"><a class="moz-txt-link-abbreviated" href="mailto:username@computername:~/phono3py-1.10.5$">username@computername:~/phono3py-1.10.5$</a></font>
cd example/NaCl-wien2k<br>
<font color="#999999"><a class="moz-txt-link-abbreviated" href="mailto:username@computername:~/phono3py-1.10.5/example/NaCl-wien2k$">username@computername:~/phono3py-1.10.5/example/NaCl-wien2k$</a></font>
phonopy --wien2k -c NaCl.struct -d --dim="2 2 2"<br>
<font color="#666666"> _
<br>
_ __ | |__ ___ _ __ ___ _ __ _ _ <br>
| '_ \| '_ \ / _ \| '_ \ / _ \ | '_ \| | | |<br>
| |_) | | | | (_) | | | | (_) || |_) | |_| |<br>
| .__/|_| |_|\___/|_| |_|\___(_) .__/ \__, |<br>
|_| |_| |___/<br>
1.10.5<br>
<br>
Python version 2.7.6<br>
Spglib version 1.9.0<br>
Creating displacements<br>
Settings:<br>
Supercell: [2 2 2]<br>
Spacegroup: Fm-3m (225)<br>
Number of non-equivalent atoms in NaCl.structS-001: 24<br>
Number of non-equivalent atoms in NaCl.structS-002: 24<br>
<br>
disp.yaml and supercells have been created.<br>
_ <br>
___ _ __ __| |<br>
/ _ \ '_ \ / _` |<br>
| __/ | | | (_| |<br>
\___|_| |_|\__,_|</font><br>
</font>
</body>
</html>