Skip to content

[tutorials/BLE Advertising.md] Python section, not using sudo with pip #659

Open
@JuanjoSalvador

Description

@JuanjoSalvador

Since PyPI has not a security check on upload, it's pretty recommended to use virtual environments (like pipenv, virtualenv, etc) instead of install on base system with sudo or superuser.

This section

sudo apt-get install python-pip libglib2.0-dev
sudo pip install bluepy

should be replaced by

sudo apt-get install python-pip libglib2.0-dev
python3 -m pip install virtualenv env && source env/bin/activate
pip install bluepy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions