bogde / HX711

An Arduino library to interface the Avia Semiconductor HX711 24-Bit Analog-to-Digital Converter (ADC) for Weight Scales.
MIT License
876 stars 535 forks source link

Error on `make build-all` #259

Closed gamename closed 3 months ago

gamename commented 5 months ago

Hi,

I'm getting this when I try to build the examples:

/bin/sh: --python=python3: command not found
make: *** [setup-virtualenv] Error 127

Any ideas?

I'm using zsh on MacOS 14.2.1 (23C71)

darkb0ts commented 3 months ago

Check Python Installation like this python3 --version and Use Virtual Environment (Recommended):

It's recommended to use a virtual environment to isolate project dependencies. This prevents conflicts with other Python installations on your system. Tools like venv or virtualenv can be used to create virtual environments. Here's an example using venv: Bash python3 -m venv my_env # Create a virtual environment named "my_env" source my_env/bin/activate # Activate the virtual environment