in my windows command prompt, I typed vispython and carried on from there. ________________________________ From: comp-phys-alps-users-bounces@lists.phys.ethz.ch [comp-phys-alps-users-bounces@lists.phys.ethz.ch] on behalf of Matthias Troyer [troyer@phys.ethz.ch] Sent: Monday, 13 February, 2012 11:42:56 PM To: comp-phys-alps-users@lists.phys.ethz.ch Subject: Re: [ALPS-users] help
Where are you launching Python from, and how are you launching it?
Matthias
On Feb 13, 2012, at 7:57 PM, #ABDUL MALEK BIN RAZALI# wrote:
Hi,
I just changed to python and am using alps version 2.0. So, i first started the first basic tutorial using python and everything was going smoothly until i reached " result_files = pyalps.getResultFiles(prefix='parm1') ". The error message i received was:
File "<stdin>", line 1, in <module> File "C:\Program Files\VisTrails\vistrails\Python27\lib\site-packages\pyalps\tools.py", line 400, in getResultFiles res = recursiveGlob(dirname, pattern)
File "C:\Program Files\VisTrails\vistrails\Python27\lib\site-packages\pyalps\tools.py", line 372, in recursiveGlob ret += recursiveGlob(os.path.join(dirname, d), pattern)
File "C:\Program Files\VisTrails\vistrails\Python27\lib\site-packages\pyalps\tools.py", line 370, in recursiveGlob for d in os.listdir(dirname):
windowsError: [Error 5] Access is denied: '.\Application Data/*.*'
Then, i skipped over to tutorials MC-08 and got the same message when using result_files = ....
May i know what is wrong here ? I use my windows command prompt with the python interpreter from vistrails.
Regards, Mike