Table of Contents
-
Install Python
py --version
-
Setting up a virtual environment To create a virtual environment for your project, open a new command prompt, navigate to the folder where you want to create your project and then enter the following:
py -m venv project-name
This will create a folder called ‘project-name’ if it does not already exist and setup the virtual environment. To activate the environment, run:
project-name\Scripts\activate.bat
-
Install Django In the command prompt, ensure your virtual environment is active, and execute the following command:
py -m pip install Django
- Install all the necessary files.
- Open Pycharm and paste all the files.
- In the terminal run cd HousePricePrediction -> cd HousePricePrediction -> cd HousePricePrediction -> python manage.py runserver. Now Django will be initialised.
- Open http://127.0.0.1:5000/ in your browser.
From this system an accuracy of 70% - 80% can be achieved.