pyvec / pyvec/naucse.python.cz

sudo picocom a ampy

Open
#418 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
335
Forks
119
Avg merge
3h 6m
Merged PRs (30d)
1

Description

V materiálech k MicroPythonu je napsáno, že pokud na Linuxu nelze přidat uživatele do skupiny dialout, může použít sudo picocom https://github.com/pyvec/naucse.python.cz/blob/master/lessons/beginners/micropython/index.md#linux

Tohle je samozřejmě funkční, ale když člověk dojde dále a chce použít ampy, aniž by byl ve skupině dialout, sudo mu už nepomůže, protože ampy je nainstalováno ve virtuálním prostředí.

Možnost číslo 1 je odebrat poznámku o sudu u picocomu. Přidání do skupiny by nemělo činit problém, jelikož člověk beztak potřebuje práva roota na instalace a členství ve skupině je trvalejší řešení.
Možnost číslo 2 je přidat poznámku k ampy, že když potřebuje sudo u picocomu, bude sudo potřebovat i zde, ale musí navíc spouštět ampy z virtuálního prostředí pomocí celé cesty ./venv/bin/ampy.

Co vy na to?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open lessons/beginners/micropython/index.md and review the Linux picocom guidance together with the ampy instructions. Determine which sudo and virtual-environment instructions should be presented consistently, then update the relevant notes so a learner can use both tools without ambiguity.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.