In theory conda should already set the location of the ALPS.xsl file during install.
If this is failing, the easiest fix could to set the environment variable ALPS_XML_DIR to the correct path.
More information here https://alps.comp-phys.org/mediawiki/index.php/Installing_the_binary_releases#Non-default_install_locations_for_the_binary_packages_2


Best,
Michele



On 31 Jul 2017, at 03:34, Jin Hyoun Kang <kangjin0119@snu.ac.kr> wrote:

Dear all,

I recently have installed ALPS package via conda in Win 10 (x64), and pyalps module was successfully imported in python 2.7.13.
However, when I write the input files by using a function writeInputFiles, runtime error shows up.
The error message reads:
File "C:\Users\Administrator\Anaconda2\lib\site=packages\pyalps\tools.py", line 285, in xslPath
return pyalps.pytools.search_xml_library_path("ALPS.xsl").replace(b'\0', '')

RuntimeError: Cannot find file ALPS.xls, failed to find it at /lib/xml\ALPS.xsl

Since I installed ALPS package via conda, the xsl files are located in \Anaconda2\Library\lib\xml.
Is there any way to find or adjust the path of xsl files?

Thank you.


Sincerely,

Jin Hyoun





----
Comp-phys-alps-users Mailing List for the ALPS Project
http://alps.comp-phys.org/

List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users
Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users

Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.ch.