An object-relational mapping is a bridge between the two worlds. SQLObject is a popular Object Relational Manager for provide an object interface to database, with tables as classes, rows as instances, and columns as attributes. Using an object-relational mapping doesn’t mean that you don’t need to know how relational databases work, but it does save you from having to write SQL. SQLObject programs can be written on any plain text editor like notepad, notepad++, or anything of that sort and saved with a .py extension. This article shows you how to install SQLObject.
Prerequisite :
- Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
- pip
Let’s check python version if exists :
To check python existence, run below command on your Command line interface.
Command :
python3 --version
Output :
To install Python, Please visit: How to Install Python on Windows or Linux?
Linux
Python SQLObject can be installed on Linux in many ways, using pip is one of them.
Command :
pip install SQLObject
Output :
To check the installed SQLObject, run below command on your Command line interface.
Command :
pip list
This command will show all the installed packages in your Python environment.
Output:
Windows
To install SQLObject on Windows using pip, run below command on command line interface.
Command :
pip install SQLObject
Output:
Now, This Package is successfully installed in your Python environment.