Skip to content

Use a venv for PC_miner.py #1833

@wolfieboy09

Description

@wolfieboy09

Is your feature request related to a problem? Please describe.
When installing duinocoin onto a raspi, you would usually need to break system packages for it to actually work.

Describe the solution you'd like
On the documentation, I would like the following commands to replace breaking system packages (unless you need to):
You first would have to cd duino-coin obviously.
Then you would first run these commands:

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

To exit out of venv, just type the command deactivate

And because you have a venv now, you can just run source venv/bin/activate then python3 PC_Miner.py.
With this solution, you don't need to do the entire break system packages!

Describe alternatives you've considered
N/A

Additional context
I don't like to break system packages unless I REALLY need to do so.

Metadata

Metadata

Assignees

No one assigned

    Labels

    postponedMay be done during better times

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions