Installing LogiLed#

You can get the library directly from PyPI:

$ pip install logiled

If pip command not found

$ python -m pip install logiled

You can also get the library from TestPyPI:

$ pip install -i https://test.pypi.org/simple/ logiled

Virtual Environement#

Sometimes you want to keep libraries from polluting system installs or use a different version of libraries than the ones installed on the system

A more in-depth tutorial is found on Virtual Environments and Packages

However, for the quick and dirty:

  1. Go to your project’s working directory:

    $ cd your-projet-source
    $ python -m venv .venv
    
  2. Activate the virtual environment:

    $ .venv\Scripts\activate.bat
    
  3. Use pip like usual:

    $ pip install logiled
    
    $ pip install -i https://test.pypi.org/simple/ logiled
    

Congratulations. You now have a virtual environment all set up.


Once installed, you can go and see how it’s used How to use LogiLed