martomi / chiadog

A watch dog providing a peace in mind that your Chia farm is running smoothly 24/7.
MIT License
457 stars 121 forks source link

Exception: ERROR: The 'make' utility is missing from PATH #148

Closed djdookie closed 3 years ago

djdookie commented 3 years ago

If I execute start.sh I get the following error in the step

Building wheels for collected packages: pynacl
  Building wheel for pynacl (PEP 517) ... error

[...]

 ----------------------------------------
  ERROR: Failed building wheel for pynacl
Failed to build pynacl
ERROR: Could not build wheels for pynacl which use PEP 517 and cannot be installed directly

Using python 3.8.5 in an venv on Ubuntu Server 20.04 LTS. Any ideas how to fix this?

pieterhelsen commented 3 years ago

You are likely missing python dev tools. Install them with:

sudo apt install libpython3-dev build-essential

djdookie commented 3 years ago

Hi. Thanks for your quick reply. I unfortunately run into the next error using your command.

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 build-essential : Depends: libc6-dev but it is not going to be installed or
                            libc-dev
                   Depends: g++ (>= 4:9.2) but it is not going to be installed
 libpython3-dev : Depends: libpython3.8-dev (>= 3.8.2-1~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
djdookie commented 3 years ago

I used aptitude to install both packages (and to downgrade libc6) and it worked fine. I'll leave the solution here for anyone else running into this problem:

sudo apt install aptitude
sudo aptitude install libpython3-dev build-essential

Then deny first solution and then accept downgrading solution.

After a while you should see Successfully built pynacl