Python 3.10.0
venv installed
Unity v2020.3.21f1
- Install the recent version of python (You can do it downloading it directly from the page or with the command
choco upgrade python -y) - Install venv with
python -m pip install venv - Create a virtual enviroment
python -m venv \path\to\venv - Type
\path\to\venv\Scripts\activateto start the virtual environment - Install the packages with
python -m pip install -r .\requirements.txt - Run the server with
python server.py - When you're done type
deactivateand you'll exit the virtual environment
- Download and install Unity Hub from Unity
- From Unity Hub install Unity v2020.3.21f1
- Select the ADD button and select the path to Unity Model ex.
\path\to\repo\UnityModel\ - Select the version of Unity as v2020.3.21f1
If you want to install a new package to server remember that you have to type a pip freeze > requirements.txt while you are on root. Remember that you that the virtual environment needs to be loaded before you save the packages into the .txt or else you'll not save anything (or you could lose the requirements)