<html><head></head><body><link href='http://webmail.uos.ac.kr/sens-static/css/mail/mail_view_ko.css' rel='stylesheet' type='text/css'><table width=99% style='text-align:left;'><tr valign=top><td style="font-size:10pt">
<p>Dear Ben,</p><p> </p><p>Thank you for your answer, Ben.</p><p>I've checked the installation of numpy for python 2 and 3 as follows.</p><p> </p><p>[vasp@mn0 ~]$ pip3 install --user numpy<br>Requirement already satisfied: numpy in /usr/anaconda3/lib/python3.6/site-packages (1.16.1)<br>[vasp@mn0 ~]$ pip install --user numpy<br>Requirement already satisfied: numpy in /usr/anaconda3/lib/python3.6/site-packages (1.16.1)<br>[vasp@mn0 ~]$ dp_dos<br>Traceback (most recent call last):<br>  File "/home/vasp/dftb+/bin/dp_dos", line 15, in <module><br>    import numpy.polynomial.hermite as  H<br>ImportError: No module named hermite</p><p> </p><p>However, dp_dos still showed the error message.</p><p> </p><p>What would be wrong with it?</p><p>Thank you for your answer in advance.</p><p> </p><p>Best regards,</p><p>  Young</p><p><br> </p><br><table style="width: 99%;" align="center">
<tbody>
<tr valign="top">
<td>
<p>Research Professor</p>
<p>Brain Korea 21 Plus, Department of Electrical and Computer Engineering</p>
<p>University of Seoul, Seoul, Korea</p>
</td>
</tr>
</tbody>
</table><blockquote style="padding: 0px 0px 0px 5px; margin-left: 5px; border-left-color: rgb(0, 0, 0); border-left-width: 2px; border-left-style: solid;" ><div style="line-height: 18px; font-size: 9pt;" >-----------------------원본메세지-----------------------<br> 보낸사람: Ben Hourahine <benjamin.hourahine@strath.ac.uk><br> 받는사람: dftb-plus-user@mailman.zfn.uni-bremen.de<br> 보낸날짜: 2019-02-20 17:51:02 GMT +0900 (Asia/Seoul)<br> 제목: Re: [DFTB-Plus-User] import error in dp_dos</div><br> <br><p>Hello Young,</p><p>The dp_dos code requires numpy to be installed correctly for the version of python that is present on your system.</p><p><br></p><p>Depending on how the dp tools were installed, this could be either python2.x or python3.</p><p><br></p><p>You can check by finding the dp_dos and checking its top line, so for example on my system:</p><p><br></p><p>$ which dp_dos</p><p>/home/ben/.local/bin/dp_dos<br></p><p><br></p><p>$ head /home/ben/.local/bin/dp_dos</p><p><br></p><p>#!/usr/bin/python3<br> #------------------------------------------------------------------------------#<br> #  DFTB+: general package for performing fast atomistic simulations            #<br> #  Copyright (C) 2018  DFTB+ developers group                                  #<br> #                                                                              #</p><p><br></p><p>Regards</p><p>Ben<br></p><p><br></p><div class="moz-cite-prefix">On 20/02/2019 03:42, 전영인 wrote:<br></div><blockquote cite="mid:5c6ccf1e3fe2_@_imoxion.com"><table width="99%" style="text-align: left;" ><tbody><tr valign="top"><td style="font-size: 10pt;" ><p>Dear Sir,</p><p> </p><p>I can run dftb+ without error but when I use precompiled dp_dos, the following error appeared.</p><p> </p><p>Traceback (most recent call last):<br>   File "/home/vasp/dftb+/bin/dp_dos", line 15, in <module><br>     import numpy.polynomial.hermite as  H<br> ImportError: No module named hermite</p><p> </p><p>I checked that site-packages directory is included in sys.path.</p><p>What's wrong with it?</p><p> </p><p>Thank you for your answer in advance.</p><p> </p><p>Best regards,</p><p>  Young</p><p> </p><p> </p><p> </p><br><table align="center" style="width: 99%;" ><tbody><tr valign="top"><td><p>Research Professor</p><p>Brain Korea 21 Plus, Department of Electrical and Computer Engineering</p><p>University of Seoul, Seoul, Korea</p></td></tr></tbody></table></td></tr></tbody></table><img width="0" src="http://webmail.uos.ac.kr/Mail?act=RECEIPT_CHECK&ukey=5c6ccf1d3fd016050ba2400c&userid=yijhon&mhost=uos.ac.kr&ahost=d0001" border="0" heigh="0" ><br><pre class="moz-quote-pre">_______________________________________________
DFTB-Plus-User mailing list
<a class="moz-txt-link-abbreviated" href="mailto:DFTB-Plus-User@mailman.zfn.uni-bremen.de" >DFTB-Plus-User@mailman.zfn.uni-bremen.de</a>
<a class="moz-txt-link-freetext" href="https://mailman.zfn.uni-bremen.de/cgi-bin/mailman/listinfo/dftb-plus-user" >https://mailman.zfn.uni-bremen.de/cgi-bin/mailman/listinfo/dftb-plus-user</a>
</pre></blockquote><pre class="moz-signature">-- 
        Dr.  B.  Hourahine,  Senior  lecturer
            SUPA, Department  of  Physics,
             University  of  Strathclyde,
              John  Anderson  Building,
          107 Rottenrow, Glasgow G4 0NG, UK.                    
  +44 141 548 2325, <a class="moz-txt-link-abbreviated" href="mailto:benjamin.hourahine@strath.ac.uk" >benjamin.hourahine@strath.ac.uk</a>

The  Department is  a partner  in SUPA,  the Scottish
            Universities Physics Alliance

The University  of Strathclyde  is a  charitable body,
       registered in Scotland, number SC015263
</pre></blockquote></td></tr></table></body></html>

<img id='mailexp' width=0 heigh=0 border=0 src='http://webmail.uos.ac.kr/Mail?act=RECEIPT_CHECK&ukey=5c6f68d63fdb6f5548d01876&userid=yijhon&mhost=uos.ac.kr&ahost=d0001'></body></html>