Open In App

How to Install PyQuery on Windows?

Improve
Improve
Like Article
Like
Save
Share
Report

The Python Pyquery Package allows you to make jquery queries on XML documents In this article we will look into the process of installing the Pyquery package on Windows.

Pre-requisites:

The only thing that you need for installing the Scrapy module on Windows are:

Installing PyQuery 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 -c anaconda pyquery

Type y for yes when prompted.

You will get a similar message once the installation is complete:

Installing PyQuery package on Windows using Conda

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

Verifying PyQuery package Installation on Windows using Conda:

To verify if PyQuery package has been successfully installed in your system run the below command in Anaconda Powershell Prompt:

conda list pyquery

You’ll get the below message if the installation is complete:

Verifying PyQuery package Installation on Windows using Conda

Installing PyQuery 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 pyquery

You will get a similar message once the installation is complete:

Installing PyQuery package on Windows using PIP

Verifying PyQuery package Installation on Windows using PIP:

To verify if the PyQuery package has been successfully installed in your system run the below command in Command Prompt:

python -m pip show pyquery

You’ll get the below message if the installation is complete:

Verifying PyQuery package Installation on Windows using PIP


Last Updated : 30 Sep, 2021
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads