-
Notifications
You must be signed in to change notification settings - Fork 1
Python Installation
-
Get the Python 3.10.6 Installer from the official site, and install it.
- see here if you're not on 64-bit Windows
- You may use any version 3.7 or higher
-
Alternatively if you're using Chocolatey, just do
choco install python
- Make sure you select
Add to Path
on installation process.- see here on how to fix, if you missed that step
To check that you've installed it properly, you can open a shell (either CMD or PowerShell on Windows) and type in: python --version
It should return you the Python version, like so:
- After cloning the repository, open up a shell (either CMD or PowerShell on Windows)
- Navigate to the repository folder
- Use the command:
pip install -r requirements.txt
Here's an example:
I used cd
to navigate to the location where my Lapis folder is
-
After cloning the repository, open up a shell (either CMD or PowerShell on Windows)
-
Navigate to the repository folder.
-
In the root of the repository, create a virtual environment using
python -m venv venv
Example:
-
Activate the virtual environment using
call venv\scripts\activate.bat
in Command Prompt- The command is
venv/scripts/activate
in PowerShell - Note: You can deactivate the venv by using the command deactivate
- The command is
-
Use the command
pip install -r requirements.txt
to install the required modules
Example:
- Use
pip install wheel
, if the above commands throw errors
- Use
A TEAM SPIRIT Project • Lazuli PyPI Page • SpiritMS • SpiritSuite