<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">In theory conda should already set the location of the ALPS.xsl file during install.<div class="">If this is failing, the easiest fix could to set the environment variable ALPS_XML_DIR to the correct path.</div><div class="">More information here <a href="https://alps.comp-phys.org/mediawiki/index.php/Installing_the_binary_releases#Non-default_install_locations_for_the_binary_packages_2" class="">https://alps.comp-phys.org/mediawiki/index.php/Installing_the_binary_releases#Non-default_install_locations_for_the_binary_packages_2</a></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Best,<br class=""><div class="">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  "><div class="">Michele</div><div class=""><br class=""></div></span><br class="Apple-interchange-newline">

</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On 31 Jul 2017, at 03:34, Jin Hyoun Kang <<a href="mailto:kangjin0119@snu.ac.kr" class="">kangjin0119@snu.ac.kr</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><p style="border:0; padding:0; margin:0; font-family:'굴림'; font-size:10pt; cursor: text;" class=""></p><div style="border: 0px; padding: 0px; margin: 0px; font-family: 굴림; font-size: 10pt; cursor: text;" class="">Dear all,</div><div style="border: 0px; padding: 0px; margin: 0px; font-family: 굴림; font-size: 10pt; cursor: text;" class=""><br class=""></div><div style="border: 0px; padding: 0px; margin: 0px; font-family: 굴림; font-size: 10pt; cursor: text;" class="">I recently have installed ALPS package via conda in Win 10 (x64), and pyalps module was successfully imported in python 2.7.13.</div><div style="border: 0px; padding: 0px; margin: 0px; font-family: 굴림; font-size: 10pt; cursor: text;" class="">However, when I write the input files by using a function writeInputFiles, runtime error shows up.</div><div style="border: 0px; padding: 0px; margin: 0px; font-family: 굴림; font-size: 10pt; cursor: text;" class="">The error message reads:</div><div style="border: 0px; padding: 0px; margin: 0px; font-family: 굴림; font-size: 10pt; cursor: text;" class="">File "C:\Users\Administrator\Anaconda2\lib\site=packages\pyalps\tools.py", line 285, in xslPath</div><div style="border: 0px; padding: 0px; margin: 0px; font-family: 굴림; font-size: 10pt; cursor: text;" class=""><span style="white-space:pre" class="">      </span>return pyalps.pytools.search_xml_library_path("ALPS.xsl").replace(b'\0', '')</div><div style="border: 0px; padding: 0px; margin: 0px; font-family: 굴림; font-size: 10pt; cursor: text;" class=""><br class=""></div><div style="border: 0px; padding: 0px; margin: 0px; font-family: 굴림; font-size: 10pt; cursor: text;" class="">RuntimeError: Cannot find file ALPS.xls, failed to find it at /lib/xml\ALPS.xsl</div><div style="border: 0px; padding: 0px; margin: 0px; font-family: 굴림; font-size: 10pt; cursor: text;" class=""><br class=""></div><div style="border: 0px; padding: 0px; margin: 0px; font-family: 굴림; font-size: 10pt; cursor: text;" class="">Since I installed ALPS package via conda, the xsl files are located in \Anaconda2\Library\lib\xml.</div><div style="border: 0px; padding: 0px; margin: 0px; font-family: 굴림; font-size: 10pt; cursor: text;" class="">Is there any way to find or adjust the path of xsl files?</div><div style="border: 0px; padding: 0px; margin: 0px; font-family: 굴림; font-size: 10pt; cursor: text;" class=""><br class=""></div><div style="border: 0px; padding: 0px; margin: 0px; font-family: 굴림; font-size: 10pt; cursor: text;" class="">Thank you.</div><div style="border: 0px; padding: 0px; margin: 0px; font-family: 굴림; font-size: 10pt; cursor: text;" class=""><br class=""></div><div style="border: 0px; padding: 0px; margin: 0px; font-family: 굴림; font-size: 10pt; cursor: text;" class=""><br class=""></div><div style="border: 0px; padding: 0px; margin: 0px; font-family: 굴림; font-size: 10pt; cursor: text;" class="">Sincerely,</div><div style="border: 0px; padding: 0px; margin: 0px; font-family: 굴림; font-size: 10pt; cursor: text;" class=""><br class=""></div><div style="border: 0px; padding: 0px; margin: 0px; font-family: 굴림; font-size: 10pt; cursor: text;" class="">Jin Hyoun</div><div style="border: 0px; padding: 0px; margin: 0px; font-family: 굴림; font-size: 10pt; cursor: text;" class=""><br class=""></div><div style="border: 0px; padding: 0px; margin: 0px; font-family: 굴림; font-size: 10pt; cursor: text;" class=""><br class=""></div><div class=""><br class="webkit-block-placeholder"></div>
<img src="http://mail.snu.ac.kr/checkread/OTcwMTY2MTE4/Y29tcC1waHlzLWFscHMtdXNlcnNAbGlzdHMucGh5cy5ldGh6LmNo/" width="1px" height="1px" class=""><br class=""><br class="">----<br class="">Comp-phys-alps-users Mailing List for the ALPS Project<br class=""><a href="http://alps.comp-phys.org/" class="">http://alps.comp-phys.org/</a><br class=""><br class="">List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users<br class="">Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users<br class=""><br class="">Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.ch.</div></blockquote></div><br class=""></div></body></html>