Install
Learn how to install the luxos tool.
If you're familiar with the python ecosystem and venv, you can safely skip the rest of this document.
All you need is:
These are the end2end instructions to install luxos package, starting from scratch, feel free to skip steps not relevant to your particular case.
Install the system python interpreter
Here there are many choices, depending on the platform.
Head to python and download the most recent installer following the on-screen instructions.
Once you have your system-wide python installed, you can work on creating a virtual environment.
No matter how you installed your main python interpreter, just make sure you're installing python3.x and not python2.x, this command should show something reasonable:
Creating and using a virtual environment
Python can maintain multiple environments side-by-side, with one environment set to run tests, one to create documentation, another with another package set for a different project, and so on.
The steps to follow once the main system python interpreter is installed, are simple:
- create a new environment in a directory
- "activate" the newly created environment
- install the packages
Creating a new environment
This will create a new environment under venv under the current directory
Activating the environment
Each time you need to use an environment, you can source the activate script that sets for you the PATH and other variables.
Using the newly created environment
From an activated environment, you can use pip
to install python packages: