How to Install SQLAlchemy in Python in Windows?
Last Updated :
22 Sep, 2021
SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that is used as flexible database access using SQL. In this article, we will look into the process of installing SQLAlchemy on a windows machine.
Pre-requisites:
The only thing that you need for installing Numpy on Windows are:
Installing SQLAlchemy 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 -c anaconda sqlalchemy
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 SQLAlchemy Installation on Windows using Conda:
To verify if SQLAlchemy has been successfully installed in your system run the below command in Anaconda Powershell Prompt:
conda list pyglet
You'll get the below message if the installation is complete:

Installing SQLAlchemy 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 pyglet
You will get a similar message once the installation is complete:

Verifying SQLAlchemy Installation on Windows using PIP:
To verify if the SQLAlchemy has been successfully installed in your system run the below command in Command Prompt:
python -m pip show sqlalchemy
You'll get the below message if the installation is complete:
Similar Reads
How to Install Python sympy in Windows? Sympy is a Python library for symbolic mathematics. It aims to become a full-featured computer algebra system (CAS) while keeping the code as simple as possible in order to be comprehensible and easily extensible. SymPy is written entirely in Python. SymPy only depends on mpmath, a pure Python libr
2 min read
How to Install Scipy in Python on Windows? SciPy is a Python library used for scientific and technical computing. It builds on NumPy and provides modules for optimization, integration, interpolation, eigenvalue problems, and more. Before using SciPy in your Python project on Windows, you need to install it properly.Depending on your environm
1 min read
How to Install SQLAlchemy in Python on Linux? SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that is used as flexible database access using SQL. In this article, we will look into the process of installing SQLAlchemy on a windows machine. Pre-requisites: The only thing that you need for installing Numpy on Windows are: Python
2 min read
How to Install sqlalchemy in Python on MacOS? In this article, we will learn how to install SQLAlchemy in Python on MacOS. SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL Installation:Method 1: Using pip to install SQLAlchemy Follow the below steps to inst
2 min read
How to Install Python Scrapy on Windows? Scrapy is a web scraping library that is used to scrape, parse and collect web data. Now once our spider has scrapped the data then it decides whether to: Keep the data.Drop the data or items.stop and store the processed data items. In this article, we will look into the process of installing the Sc
2 min read
How to install PyCharm in Windows? PyCharm is the Python development IDE developed by JetBrains. They have developed professional and free community versions of this tool. The first professional version of the tool is paid and available as a trial for 30 days. However, in this article, we will look into the process of downloading the
2 min read