question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Execution of cwltool --version --debug fails on Windows 10. I did pip install cwltool.

Full Traceback

Traceback (most recent call last):
  File "c:\program files\python36\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\program files\python36\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Program Files\Python36\Scripts\cwltool.exe\__main__.py", line 5, in <module>
  File "c:\program files\python36\lib\site-packages\cwltool\main.py", line 22, in <module>
    import schema_salad.validate as validate
  File "<frozen importlib._bootstrap>", line 961, in _find_and_load
  File "<frozen importlib._bootstrap>", line 950, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 646, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 616, in _load_backward_compatible
  File "c:\program files\python36\lib\site-packages\past\translation\__init__.py", line 341, in load_module
    mod = imp.load_module(fullname, *self.found)
  File "c:\program files\python36\lib\imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File "c:\program files\python36\lib\imp.py", line 172, in load_source
    module = _load(spec)
  File "c:\program files\python36\lib\site-packages\schema_salad\validate.py", line 3, in <module>
    import avro.schema
  File "<frozen importlib._bootstrap>", line 961, in _find_and_load
  File "<frozen importlib._bootstrap>", line 950, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 646, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 616, in _load_backward_compatible
  File "c:\program files\python36\lib\site-packages\past\translation\__init__.py", line 396, in load_module
    if detect_python2(source, self.pathname):
  File "c:\program files\python36\lib\site-packages\past\translation\__init__.py", line 222, in detect_python2
    with open('/tmp/original_code.py', 'w') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/original_code.py'

Your Environment

  • python version Python 3.6.2

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
kapilkd13commented, Aug 7, 2017

Thanks @mr-c 😃 I tested with pip install, works Fine!!

0reactions
xamgorecommented, Aug 7, 2017

Yeah, that’s fine, thank you, @mr-c!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot problems updating Windows - Microsoft Support
Learn how to troubleshoot problems updating Windows. Find answers to common questions and issues installing Windows updates.
Read more >
17 most common Windows 10 problems and how to fix them
1. Can't upgrade from Windows 7 or Windows 8 · 2. Can't upgrade to the latest Windows 10 version · 3. You have...
Read more >
9 Most Common Windows 10 Problems and Their Solutions
9 Most Common Windows 10 Problems and Their Solutions ; #1. Stop too much data usage in the background ; #2. Minimize notifications...
Read more >
Windows 10 Troubleshooting: The Most Common Problems ...
Issues updating to the latest version of Windows 10 · Not enough storage space to complete an update · Mouse cursor starts moving...
Read more >
Latest Windows 10 update 2022 : Common problems
The latest Windows 10 update has caused several problems for users, including kernel panic errors, slow booting, unresponsive systems, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found