Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a venv for PC_miner.py #1833

Open
wolfieboy09 opened this issue Oct 6, 2024 · 1 comment
Open

Use a venv for PC_miner.py #1833

wolfieboy09 opened this issue Oct 6, 2024 · 1 comment
Labels
postponed May be done during better times

Comments

@wolfieboy09
Copy link

wolfieboy09 commented Oct 6, 2024

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.

@revoxhere revoxhere added the postponed May be done during better times label Oct 7, 2024
@tgwaste
Copy link

tgwaste commented Nov 5, 2024

Just a note for python3 on noble you should be simply doing:
apt-get -y install py-cpuinfo python3-colorama python3-requests python3-serial python3-psutil

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
postponed May be done during better times
Projects
None yet
Development

No branches or pull requests

3 participants