Closed dhruvmsheth closed 1 year ago
For those stuck with this error, it works when you open a new terminal to run the same code in standard environment and then returning to the terminal with the virtual environment and rerunning the code.
With a venv, you should just be able to do something like:
python3.9 -m venv myenv # to create venv
source myenv/bin/activate # to activate
pip3 install buildhat # to install buildhat
Thanks @chrisruk
I can run Buildhat programs without a virtual environment but a project I'm working on requires most libraries to be in a virtual environment to avoid conflict with the standard environment. Is there anyway I can run the code on a virtual environment for buildhat? Model: Rpi 4 8gb ram 32bit bullseye 32gb storage
The error:
Thank you!