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.

Can't run mutmut Windows 10

See original GitHub issue

My project structure.


My setup.cfg:

runner="python -m unittest discover"

When I run python -m mutmut run from project I get an error:

Traceback (most recent call last):
  File "C:\Users\...\AppData\Local\Programs\Python\Python37\lib\", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\Users\...\AppData\Local\Programs\Python\Python37\lib\", line 85, in _run_code
    exec(code, run_globals)
  File "X:\Projects\project\venv.tests\lib\site-packages\mutmut\", line 784, in <module>
  File "X:\Projects\project\venv.tests\lib\site-packages\click\", line 764, in __call__
    return self.main(*args, **kwargs)
  File "X:\Projects\project\venv.tests\lib\site-packages\click\", line 717, in main
    rv = self.invoke(ctx)
  File "X:\Projects\project\venv.tests\lib\site-packages\click\", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "X:\Projects\project\venv.tests\lib\site-packages\click\", line 555, in invoke
    return callback(*args, **kwargs)
  File "X:\Projects\project\venv.tests\lib\site-packages\mutmut\", line 74, in wrapper
    f(*args, **kwargs)
  File "X:\Projects\project\venv.tests\lib\site-packages\mutmut\", line 254, in climain
    post_mutation, use_patch_file))
  File "X:\Projects\project\venv.tests\lib\site-packages\mutmut\", line 352, in main
  File "X:\Projects\project\venv.tests\lib\site-packages\mutmut\", line 689, in time_test_suite
    returncode = popen_streaming_output(test_command, feedback)
  File "X:\Projects\project\venv.tests\lib\site-packages\mutmut\", line 459, in popen_streaming_output
  File "C:\Users\...\AppData\Local\Programs\Python\Python37\lib\", line 775, in __init__
    restore_signals, start_new_session)
  File "C:\Users\...\AppData\Local\Programs\Python\Python37\lib\", line 1178, in _execute_child
FileNotFoundError: [WinError 2] The system cannot find the file specified

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

jayvdbcommented, Sep 4, 2019

This specific problem would be fixed by

moltobcommented, Sep 7, 2021

Probably also fixed by #220.

Read more comments on GitHub >

github_iconTop Results From Across the Web

mutmut - PyPI
Mutmut is a mutation testing system for Python, with a strong focus on ease of use. If you don't know what mutation testing...
Read more >
How to Install & Run Mumble Murmur as a Windows Service
Install Mumble and Murmur Server. Make sure that Murmur runs properly. If not, it won't work as a Windows Service either!
Read more >
Remote server has closed the connection. Reconnecting ...
1 I am running one computer (now using win xp) to run my murmur (host server) and nothing else. (Previously I was using...
Read more >
`mutmut` Stops Running After About 100 Mutants
Basically, what happens is that when you run mutmut and tell it to run ... While it doesn't happen for all mutmut users,...
Read more >
Running Murmur - Mumble Wiki
Distribution-Specific Murmur. By default, Murmur is configured to run from a regular user account, and on Windows and OSX this is the only...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found