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.

FileNotFoundError: [Errno 2] No such file or directory: 'chia'

See original GitHub issue

hi ,i try to working on WSL2. The same problem heppen to me , can you tell me how to fix this proble? thx.

Traceback (most recent call last):
  File "/home/cake/.local/bin/plotman", line 8, in <module>
    sys.exit(main())
  File "/home/cake/.local/lib/python3.8/site-packages/plotman/plotman.py", line 145, in main
    wait_reason = manager.maybe_start_new_plot(cfg.directories, cfg.scheduling, cfg.plotting)
  File "/home/cake/.local/lib/python3.8/site-packages/plotman/manager.py", line 130, in maybe_start_new_plot
    p = subprocess.Popen(plot_args,
  File "/usr/lib/python3.8/subprocess.py", line 854, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.8/subprocess.py", line 1702, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'chia'

_Originally posted by @sweetcake2017 in https://github.com/ericaltendorf/plotman/issues/79#issuecomment-825523654_

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
altendkycommented, Oct 12, 2021

You are now able to specify the path to chia_plot via the executable: configuration. Note that the relevant line is commented out in the example.

https://github.com/ericaltendorf/plotman/blob/1b7dfba139ed03d3c32a2f04f6011e03bfb1f442/src/plotman/resources/plotman.yaml#L176-L178

0reactions
altendkycommented, Oct 12, 2021

I think the original issue has been resolved and there are now multiple ways to provide plotman access to the plotters. You can specify directly via executable: for each of them or you can set your PATH so they will be found. Note that activating the venv is a way to set the PATH.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[BUG]FileNotFoundError: [Errno 2] No such file or directory
FileNotFoundError : [Errno 2] No such file or directory [3880] Failed to execute script chia. Daemon not started yet
Read more >
filenotfounderror: [errno 2] no such file or directory: .txt file
I've tried writing the file 'movies.txt' in VS code, and in my notepad, and then saving it to the same directory as the...
Read more >
Python FileNotFoundError: [Errno 2] No such file or directory ...
This error tells you that you are trying to access a file or folder that does not exist. To fix this error, check...
Read more >
Plotman issues abound! - Chia Tools & Scripts
plotman assumes chia user name (later found in config) to be chia ... FileNotFoundError: [Errno 2] No such file or directory: 'chia'.
Read more >
"No such file or directory." error while plotting : r/chia - Reddit
On two of my temp SSDs, there are plots that are stuck at 57% because they are in a loop with this error...
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