How to install cwltool on windows

221 views
Skip to first unread message

Sergei Manakov

unread,
May 30, 2016, 5:16:58 AM5/30/16
to common-workflow-language
Hi everyone,

I would appreciate any advice/suggestions regarding the easiest way to run cwltool on Windows 7 and 10. I tried following instructions on https://github.com/common-workflow-language/cwltool to install the official package from PyPi  (with pip install cwl-runner) with windows 10 and cygwin 2.3.0 (pip 8.1.1 from C:\Anaconda2\lib\site-packages (python 2.7)). The tool appeared to have been installed but on the first example job from http://www.commonwl.org/draft-3/UserGuide.html the tool produced and error:

 

cwl-runner 1st-tool.cwl echo-job.yml

Error reading file://C:\cygwin64\home\smanakov\CWL\1st-tool.cwl [Errno 22] invalid mode ('r') or filename: ''


I was able to install and run cwltool with pip install on CentOS, so I assume this issue is windows specific. Ideally it would be nice to be able to run cwltool in cygwin, but if there is a working containerized cwltool for MinGW + Docker, that could be good, too.



Thanks,
Sergei

Michael Crusoe

unread,
May 30, 2016, 5:26:48 AM5/30/16
to Sergei Manakov, common-workflow-language
Thank you Sergei for your email,

The reference implementation of CWL currently targets Linux & OS X. I don't personally have a Microsoft Windows machine to develop on but I am happy to accept pull requests that add compatibility.

There may be CWL compliant implementations from others that have MS Windows compatibility, but I'm not aware of any.

--
You received this message because you are subscribed to the Google Groups "common-workflow-language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to common-workflow-la...@googlegroups.com.
To post to this group, send email to common-workf...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/common-workflow-language/4a2fa66d-1eaf-41f4-b130-74443cf96f40%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Michael R. Crusoe
Community Engineer & Co-founder
Common Workflow Language project
https://impactstory.org/u/0000-0002-2961-9670
michael...@gmail.com
+32 (0) 2 808 25 58
+1 480 627 9108

tanyalci...@gmail.com

unread,
Jun 29, 2016, 9:01:00 PM6/29/16
to common-workflow-language, siarhei...@gmail.com
Dear Michael,

I had the same problem for Windows.I suspect that it has to do with the file path names where in Windows backslashes are used like C:\dir\testDir\... The problem is \t or some other characters will be taken as a tab character. So I think the path names might be better passed on as r'path to cwl file' so that they are interpreted as raw string. I was wondering if this would be a quick fix for you?

Regards,


On Monday, May 30, 2016 at 11:26:48 AM UTC+2, michael.crusoe wrote:
Thank you Sergei for your email,

The reference implementation of CWL currently targets Linux & OS X. I don't personally have a Microsoft Windows machine to develop on but I am happy to accept pull requests that add compatibility.

There may be CWL compliant implementations from others that have MS Windows compatibility, but I'm not aware of any.
On Mon, May 30, 2016 at 11:16 AM, Sergei Manakov <siarhei...@gmail.com> wrote:
Hi everyone,

I would appreciate any advice/suggestions regarding the easiest way to run cwltool on Windows 7 and 10. I tried following instructions on https://github.com/common-workflow-language/cwltool to install the official package from PyPi  (with pip install cwl-runner) with windows 10 and cygwin 2.3.0 (pip 8.1.1 from C:\Anaconda2\lib\site-packages (python 2.7)). The tool appeared to have been installed but on the first example job from http://www.commonwl.org/draft-3/UserGuide.html the tool produced and error:

 

cwl-runner 1st-tool.cwl echo-job.yml

Error reading file://C:\cygwin64\home\smanakov\CWL\1st-tool.cwl [Errno 22] invalid mode ('r') or filename: ''


I was able to install and run cwltool with pip install on CentOS, so I assume this issue is windows specific. Ideally it would be nice to be able to run cwltool in cygwin, but if there is a working containerized cwltool for MinGW + Docker, that could be good, too.



Thanks,
Sergei

--
You received this message because you are subscribed to the Google Groups "common-workflow-language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to common-workflow-language+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages