How to Install cx_oracle in Python on Windows?
Last Updated :
22 Sep, 2021
The cx_oracle package is used to connect with the Oracle database using python. In this, article, we will look into the process of installing the cx_oracle package on Windows.
Pre-requisites:
The only thing that you need for installing the Scrapy module on Windows are:
Installing cx_oracle package on Windows using Conda:
If you want the installation to be done through conda, open up the Anaconda Powershell Prompt and use the below command:
conda install cx_oracle
Type y for yes when prompted.
You will get a similar message once the installation is complete:
Make sure you follow the best practices for installation using conda as:
- Use an environment for installation rather than in the base environment using the below command:
conda create -n my-env
conda activate my-env
Note: If your preferred method of installation is conda-forge, use the below command:
conda config --env --add channels conda-forge
Verifying cx_oracle package Installation on Windows using Conda:
To verify if Pywin32 has been successfully installed in your system run the below command in Anaconda Powershell Prompt:
conda list cx_oracle
You'll get the below message if the installation is complete:

Installing cx_oracle package on Windows using PIP:
If you want the installation to be done through PIP, open up the Command Prompt and use the below command:
pip install cx_oracle
You will get a similar message once the installation is complete:

Verifying cx_oracle package Installation on Windows using PIP:
To verify if the cx_oracle package has been successfully installed in your system run the below command in Command Prompt:
python -m pip show cx_oracle
You'll get the below message if the installation is complete:
Similar Reads
How to Install Nose 2 in Python on Windows? Nose 2 is a successor of Nose package and is used for testing python applications. In this article, we will look into the process of installing Nose2 Package on Windows. Pre-requisites: The only thing that you need for installing the Scrapy module on Windows are: Python PIP or Conda (depending upon
2 min read
How to Install cx_oracle in Python on Linux? The cx_oracle package is used to connect with the Oracle database using python. In this, article, we will look into the process of installing the cx_oracle package on Linux. Pre-requisites: The only thing that you need for installing Numpy on Windows are: PythonPIP or Conda (Depending upon the user
2 min read
How to Install cx_oracle in Python on MacOS? In this article, we will learn how to install cx_Oracle in Python on MacOS. The cx_Oracle is a Python extension module that enables access to Oracle Database. It conforms to the Python database API 2.0 specification with a considerable number of additions and a couple of exclusions. See the homepage
2 min read
How to install Python on Windows? Python is a high-level programming language that has become increasingly popular due to its simplicity, versatility, and extensive range of applications. The process of How to install Python in Windows, operating system is relatively easy and involves a few uncomplicated steps. This article aims to
5 min read
How to Install OpenCV for Python on Windows? Prerequisite: Python Language Introduction  OpenCV is the huge open-source library for computer vision, machine learning, and image processing and now it plays a major role in real-time operation which is very important in todayâs systems. By using it, one can process images and videos to identify
4 min read