How to Install Python Package Without Pip

  1. Install Python Library Without pip Command
  2. Install Python Package With Conda Command
How to Install Python Package Without Pip

In this article, we will learn how to install a library without pip in Python. We will also learn how to use the conda command to install a package in Python.

ADVERTISEMENT

Install Python Library Without pip Command

In Python, the pip command is the most often used method for installing open source libraries in our systems. However, there is another way to manually install Python libraries rather than the pip command.

To install a Python library without using the pip command, we need to download and install the package from pypi.org and run the setup.py file with Python.

This section covers the procedures to be followed before installing additional Python packages.

The necessary package must then be installed on our system after this. To check if the Python package is installed in the system or not, we open the cmd prompt and import the package we want to check the availability.

 powershellCopyimport scipy

After this, we will check the version of the package.

 powershellCopyscipy.__version__

This shows that scipy is installed in the system.

Scipy version

Install Python Package With Conda Command

We can also install python packages using conda in the cmd prompt.

 powershellCopyconda install scipy

Install package with conda command

The conda command installs all the requirements along with packages.

Requirements installation updates

We can now utilize the installed libraries to import into our Python application.

Enjoying our tutorials? Subscribe to DelftStack on YouTube to support us in creating more high-quality video guides. Subscribe
Author: Abid Ullah
Abid Ullah avatar Abid Ullah avatar

My name is Abid Ullah, and I am a software engineer. I love writing articles on programming, and my favorite topics are Python, PHP, JavaScript, and Linux. I tend to provide solutions to people in programming problems through my articles. I believe that I can bring a lot to you with my skills, experience, and qualification in technical writing.

LinkedIn

Related Article - Python Installation