Install Renardo Python library
Getting python to work
Windows
You need to install Python. Use the official one from https://python.org (please don’t use anaconda or parallel environments if you don’t understand their consequences).
Next, you need to add Python to your System variables in Windows:
- Check your program folders in order to find Python (e.g. C:\Users<USER>\AppData\Local\Programs\Python)
- Start typing environment in the search bar of Windows main menu. You should see Edit the system environment variables - Control panel popping up.
- Click on it! It will open the System Properties window, and find Environment variables on the bottom.
- Pressing this button opens a new window. Find Path in the lower section called System variables.
- Select the line Path and press Edit on the bottom. Paste your found Python path, close the window and press OK.
Mac OS
If you’ve never use developer stuff before you probably need to install python3 (and cmd line tools) by launching in a terminal: sudo xcode-select --install
Linux
Python comes natively as a base tool of your OS.
Install Renardo
Windows
-
You can simply open a terminal (PowerShell on windows) and launch
py -m pip install renardo
(orpy -m pip3 install renardo
if the preceding fails) -
Launch renardo (with FoxDot editor) by launching
python -m renardo
in the terminal (or you can trypython -m renardo
orrenardo
)
MacOS
- You can simply open a terminal (PowerShell on windows) and launch
pip install renardo
(orpip3 install renardo
if the preceding fails) - Launch renardo (with FoxDot editor) by launching
renardo
in the terminal (or you can trypython -m renardo
orpython3 -m renardo
)
Linux
On Linux you should not install pip packages globally anymore but use a virtual environment instead. You can either :
- learn how to manually create a virtualenv : https://www.freecodecamp.org/news/how-to-setup-virtual-environments-in-python/
- install and use
pipx
:- Install it with your package manager of choice (
sudo apt install pipx
,sudo pacman -S python-pipx
, …) pipx ensurepath
in a terminal- Then you can simply install renardo by launching
pipx install renardo
. - Then launch renardo with:
renardo
- Install it with your package manager of choice (