Tagged articles
pip
78 articles · Page 1 of 1
This tutorial walks through installing Scrapy on Windows, resolving frequent errors like missing lxml by using unofficial Windows binaries, fixing Microsoft Visual C++ 14.0 requirement via Build Tools, and a workaround for unsupported Twisted wheels by renaming .whl to .zip and extracting.
PythonTwistedVisual C++
0 likes · 8 min read

This guide walks you through installing virtualenv on Windows, creating a named virtual environment, locating its files, activating it with activate.bat, checking the Python version, and properly deactivating the environment to keep Python2 and Python3 projects isolated.
Pythonenvironment isolationpip
0 likes · 5 min read

This guide explains why the default Conda and pip sources are slow in China, shows how to check current settings, switch to Tsinghua mirrors for both Conda and pip, verify the configuration, and provides additional tips such as using mamba, creating isolated environments, and avoiding common AI‑project pitfalls.
AIMambaPython
0 likes · 7 min read


liandkMay 11, 2026 · Fundamentals
This guide teaches you what Python modules are, demonstrates three import styles, shows how to install third‑party packages using reliable mirrors, and walks through practical examples—including random score generation and common pitfalls—to help you quickly leverage modules for automation and web scraping.
Mirror repositoriesModulesPython
0 likes · 6 min read

This guide explains why the default PyPI source is slow for Chinese users and provides step‑by‑step instructions for temporarily or permanently switching pip to domestic mirror servers, covering command‑line configuration and manual file editing across Windows, macOS, and Linux.
Pythonconfigurationmirrors
0 likes · 7 min read

Learn how to dramatically speed up Python package installations by configuring pip to use domestic mirrors, with step‑by‑step instructions for temporary command‑line usage, permanent Windows and macOS/Linux configuration, and PyCharm graphical setup, plus a handy mirror source list.
PyCharmconfigurationmirror
0 likes · 8 min read

This article explains why Python virtual environments are essential for avoiding dependency conflicts, walks through creating and activating a venv, demonstrates installing, listing, and removing packages with pip, and shows how to manage requirements with a requirements.txt file.
Pythondependency managementpip
0 likes · 8 min read

This article introduces ten powerful Python modules—including Pillow, moviepy, requests, Plotly, Selenium, progressbar2, PyPDF2, dis, pyttsx3, and Turtle—explaining their key features, installation commands, and providing ready-to-run code examples to help developers work more efficiently.
ModulesTutorialpip
0 likes · 8 min read

This guide walks you through common Python library installation issues—such as missing environment variables and absent dependencies—provides step‑by‑step screenshots, explains how to add the Python path to system variables, and shows how to use a reliable mirror with pip to install packages like netCDF4.
Pythondependency managementlibrary installation
0 likes · 4 min read

The article explains why Python’s popularity is soaring—its pivotal role in AI, rich ecosystem of libraries, and ease of use—while walking readers through its history, key milestones, and step‑by‑step instructions for installing Python, setting up Conda, using pip, and choosing development tools like PyCharm.
AIPyCharmPython
0 likes · 17 min read

This article provides a comprehensive guide to using Python's pip tool, covering installation, upgrading, package installation, batch operations, dependency freezing, information querying, compatibility checks, and downloading packages, complete with practical command‑line examples and code snippets.
clidependencypackage management
0 likes · 9 min read

This guide introduces ten useful pip techniques—including installation, basic commands, upgrading, version-specific installs, uninstalling, inspecting package details, checking for conflicts, using domestic mirrors, downloading without installing, and batch installing from requirements files—to help Python developers manage packages more efficiently.
Upgradecommand-lineinstallation
0 likes · 6 min read

This article explains why Python virtual environments are needed, how to create and manage them with venv, and compares the main package management tools pip, pipenv, and poetry, offering guidance on selecting the appropriate tool for different project scenarios.
PoetryPythonpackage manager
0 likes · 6 min read

This guide explains what Python third‑party libraries are, how to install them with pip (including version control, batch installs, upgrades, and uninstalling), how to import and use them, manage virtual environments, and troubleshoot common installation issues.
Third‑party librariesdependency managementinstallation
0 likes · 5 min read

This guide explains how to work around restricted network environments by downloading Python packages and their dependencies from PyPI, storing them locally, and using pip with --no-index and --find-links options to install them without internet access.
Python packagesdependency managementoffline installation
0 likes · 10 min read

This article introduces uv, a Rust‑based Python package manager, compares its speed and dependency handling to pip, outlines its cross‑platform compatibility, typical use cases, and provides step‑by‑step installation and core commands for developers seeking a faster, more reliable tool.
DevOpsPythonpackage management
0 likes · 5 min read

This article explains how to detect missing or unused Python packages, install the tach tool, configure it to analyze a project’s source root, and use its built‑in commands to list and verify external dependencies against the declared requirements, ensuring a clean and reproducible environment.
Pythoncode analysisdependency management
0 likes · 6 min read

This guide explains how to use pip install with the @ git+https:// syntax to pull Python libraries such as unsloth[colab] from GitHub, covering command structure, optional extras, practical scenarios, and alternative installation methods for development versions and environment‑specific dependencies.
GitHubdevelopment versionextras
0 likes · 7 min read

This article provides a comprehensive tutorial on the Document Picture-in-Picture (PiP) API, covering its purpose, browser support checks, window creation, style synchronization, event handling, cloning techniques, and a complete example with HTML, CSS, and JavaScript code.
Document Picture-in-PictureHTMLJavaScript
0 likes · 11 min read

The article explains how careless use of Python's import system, the $PYTHONPATH environment variable, and running pip from the Downloads directory can create serious security vulnerabilities, and provides concrete examples and safe‑practice recommendations for developers.
PYTHONPATHSecuritycode execution
0 likes · 7 min read

pip is the general-purpose Python package installer for libraries and scripts, while pipx specializes in isolated installation of command‑line tools, each with its own virtual environment; the article compares their features, use cases, limitations, and provides guidance on when to choose each.
CLI toolsPythonpackage management
0 likes · 5 min read

This guide explains why Pyecharts V0.5 and V1 are incompatible, and provides clear step‑by‑step pip commands to upgrade from the older version to V1 or downgrade from V1 to V0.5, including necessary map‑dependency installations to ensure proper chart rendering.
PyechartsTutorialdata-visualization
0 likes · 7 min read

PyPA, the Python Packaging Authority, oversees key tools such as pip, setuptools, packaging, wheel, virtualenv, twine, and build, each serving distinct roles in package installation, creation, distribution, and environment isolation, with pyproject.toml coordinating their interactions to streamline Python development workflows.
PyPAPythonpackaging
0 likes · 6 min read

This step‑by‑step guide shows how to structure a Python project, write a setup.py and README, add code and tests, build a source distribution, create a zip package, upload it to PyPI with Twine, and finally install the library using pip.
Pythondistributionpackaging
0 likes · 5 min read

This article explains why the distutils.util module may be missing during Python library installation on a Huawei laptop, and provides step‑by‑step commands using pip or conda to resolve the issue and successfully install packages like pandas.
condadistutilspackage installation
0 likes · 4 min read

This article provides a comprehensive guide to using pip, covering installation, upgrading, package installation, batch operations, uninstallation, dependency freezing, information lookup, outdated package checks, compatibility verification, and downloading packages for offline use, all illustrated with practical code examples.
Pythondependencypip
0 likes · 9 min read

This article provides a detailed guide to Python version management, package management, virtual environment handling, package building, and publishing tools, comparing utilities like pyenv, venv, virtualenv, pip, pipenv, conda, Poetry, pdm, Hatch, and Rye, and explaining their motivations, commands, and feature support.
Toolsenvironment managementpackaging
0 likes · 20 min read

This article explains how to install and configure the argcomplete library to provide tab‑completion for Python, pip, and other argparse‑based command‑line tools, including code snippets and tips for integrating the feature into your own Python packages.
argcompleteargparseautocomplete
0 likes · 4 min read

This guide walks you through downloading and installing Python on Windows, configuring pip and its mirrors, installing PyCharm (both Community and Professional editions), and creating and executing a simple Python script within the IDE, providing step‑by‑step screenshots and command examples.
PyCharminstallationpip
0 likes · 5 min read

This article introduces ten essential pip techniques—including installation, upgrading, version-specific installs, uninstalling, checking dependencies, using domestic mirrors, downloading without installing, and batch installing from requirements files—to help Python developers efficiently manage their packages.
PythonUpgradeinstallation
0 likes · 6 min read

This guide explains how to use the argcomplete library to add Bash/Zsh auto‑completion for Python, pip, and other argparse‑based command‑line tools, including installation steps, activation commands, code integration for custom packages, and important usage cautions.
PythonZshargcomplete
0 likes · 5 min read

This article provides a comprehensive overview of Python package management tools—including PyPI, setuptools, pip, virtualenv, and conda—explaining their purposes, core features, and basic usage commands for creating, sharing, and managing Python packages and environments.
PyPIPythonconda
0 likes · 5 min read

This article introduces ten useful pip techniques—including installation, upgrading, version-specific installs, uninstalling, checking for updates, handling compatibility, using domestic mirrors, downloading without installing, and batch installing from requirements files—to help Python developers efficiently manage their packages.
Pythoncommand linedependency
0 likes · 7 min read

This article explains how to use pip and Conda to configure, list, freeze, and clean up Python project dependencies, manage virtual environments, and handle cross‑language packages, providing practical commands and tools for reliable environment and dependency management.
Pythoncondadependency-management
0 likes · 12 min read

This article lists the most downloaded Python packages on PyPI over the past year, explains each library’s main features, typical use cases, and why they are popular, and includes code snippets demonstrating common operations such as HTTP requests, date parsing, and RSA encryption.
PyPIPythonpip
0 likes · 15 min read

This article introduces pip, the Python package manager, and provides ten practical tips—including installation, upgrading, batch operations, freezing dependencies, inspecting packages, checking compatibility, and downloading wheels—to help developers efficiently manage Python libraries.
Pythonclidependency
0 likes · 8 min read

This guide presents ten practical pip techniques—from installing and upgrading pip itself to batch installing, freezing dependencies, checking compatibility, and downloading packages—empowering Python developers to manage third‑party libraries more efficiently and avoid technical debt.
PythonTutorialcommand-line
0 likes · 9 min read

This article explains how to handle Python environment and dependency management using pip tools such as pip list, pip freeze, pipdeptree, pip‑autoremove, and the conda ecosystem for creating isolated virtual environments, exporting configurations, and integrating with IDEs.
Pythoncondadependency management
0 likes · 14 min read

This article walks through a common Python pip upgrade error, shows the error screenshots, explains why it occurs, and provides a concise two‑command solution that restores the Python environment, helping readers quickly resolve similar issues.
Environmentpiptroubleshooting
0 likes · 3 min read

This article introduces ten useful pip techniques—including installation, upgrading, version-specific installs, uninstalling, inspecting package details, checking for conflicts, using domestic mirrors, downloading without installing, and batch installing from requirements files—to help Python developers manage packages more effectively.
Pythoncommand linedependency
0 likes · 7 min read

This guide walks you through fixing Python environment variable issues and missing dependency errors when installing scientific libraries, offering step‑by‑step solutions and a reliable pip mirror command to ensure smooth installation.
dependency managementenvironment variableslibrary installation
0 likes · 4 min read

This guide explains how to reliably manage Python project dependencies and environments using pip tools (pip list, pip freeze, pipdeptree, pip‑autoremove) and Conda (installation, virtual environments, environment export/import, IDE integration), helping you avoid common pitfalls as projects scale.
Pythoncondadependency management
0 likes · 13 min read

This article provides a comprehensive overview of Python package management tools, explaining the roles and relationships of distutils, setuptools, distribute, easy_install, and pip, and includes practical examples and commands for installing and using these tools effectively.
distutilseasy_installpackage-management
0 likes · 6 min read

This article explains how to manage Python project dependencies using pip and conda, covering basic pip commands, dependency trees with pipdeptree, clean removal with pip‑autoremove, and creating, activating, and exporting isolated environments with Conda, including practical examples and best‑practice recommendations.
PythonVirtual Environmentsconda
0 likes · 13 min read

This tutorial introduces pip, the standard Python package manager, and walks through installing, upgrading, searching, and uninstalling packages, using requirements files for reproducible environments, and explores alternative tools like Conda, Pipenv, and Poetry for dependency management.
Python packagesdependencypackage-management
0 likes · 16 min read

This guide provides a comprehensive overview of pip, covering installation, upgrading, package installation with version control, batch installs via requirements files, uninstallation, environment freezing, package inspection, outdated checks, compatibility verification, and downloading packages for offline use, all illustrated with practical command‑line examples.
PythonUpgradecommand line
0 likes · 7 min read

This guide presents ten practical pip techniques, covering installation, upgrading pip, installing specific package versions, uninstalling, checking for conflicts, using domestic mirrors, downloading without installing, generating requirements files, and batch installing packages, all illustrated with clear command‑line examples for Python developers.
command-linepackage-managementpip
0 likes · 7 min read

This article explains five practical ways to use Python's -m option, including launching a simple HTTP server, generating documentation with pydoc, debugging with pdb, timing code snippets via timeit, and reliably installing packages with python -m pip, especially in multi‑version environments.
HTTP serverPythoncommand-line
0 likes · 4 min read

This article introduces pip, the Python package manager, explains how to check its version, view help, install, upgrade, list, and uninstall packages, manage requirements files, and understand different wheel types, providing essential commands and tips for effective Python dependency management.
Pythoncommand linepackage management
0 likes · 6 min read

This guide presents ten practical pip tips for Python developers, covering installation, upgrades, package installation, batch requirements, uninstallation, dependency freezing, information lookup, upgrade checks, compatibility verification, and local downloading, each illustrated with clear commands and examples.
PythonTutorialpackage management
0 likes · 10 min read

This guide explains how macOS ships with Python 2, how to install Python 3, run both versions side‑by‑side, use pip and pip3 for package installation, and speed up slow pip installs by specifying a fast mirror.
TutorialinstallationmacOS
0 likes · 2 min read

This guide explains why Pyecharts V0.5 and V1 are incompatible, shows how to upgrade from V0.5 to V1 or downgrade from V1 to V0.5 with pip commands, and highlights the need for additional map packages to render geographic charts correctly.
Pyechartspipversion management
0 likes · 5 min read

This guide introduces the freegames Python library, showing how to install it, explore its 20+ classic games such as Snake, Pac‑Man, and Pong, view source code, and use simple commands to run and study each game for learning Python game development.
Code ExamplesTutorialfreegames
0 likes · 5 min read

This tutorial walks you through every essential step—from adding a license and organizing your project structure to writing tests, configuring CI, creating documentation, and finally releasing the package on PyPI or Conda—so you can share your Python library with the world.
CIopen-sourcepackaging
0 likes · 11 min read

This guide explains two installation methods for NumPy, focuses on using pip with a wheel file, walks through selecting the correct version, installing via command line, testing the library, and troubleshooting import errors in IDEs such as PyCharm.
DataScienceNumPyPython
0 likes · 3 min read

This article outlines eight practical methods for installing Python packages—including easy_install, pip, pipx, setup.py, yum, pipenv, poetry, and curl pipelines—providing command examples and usage tips for each approach.
PoetryYUMeasy_install
0 likes · 6 min read

This guide walks you through installing Anaconda, checking and updating conda, creating virtual environments with various options, fixing common package‑collection errors, managing packages via conda and pip, switching pip to a faster mirror, and integrating the environments with PyCharm.
AnacondaTutorialconda
0 likes · 9 min read

This tutorial explains what Python .whl (wheel) files are, how they differ from source distributions, and why using wheels dramatically speeds up package installation, illustrated with real pip install examples and compatibility considerations.
PythonWheelsinstallation
0 likes · 8 min read

This guide walks you through setting up Python 3.6.9 on Ubuntu 18.04, installing virtualenv and virtualenvwrapper, configuring the shell, and using common commands to create, activate, list, and delete isolated Python environments, complete with step‑by‑step code snippets and screenshots.
LinuxPythondevelopment
0 likes · 6 min read

This article walks you through updating pip on Ubuntu, listing fast domestic mirrors, configuring pip to use a new source, and demonstrates the dramatic download speed improvement you can achieve with a simple command-line change.
LinuxPythonmirror
0 likes · 5 min read

This guide walks you through three common problems encountered when using Python's docx‑mailmerge library to batch‑create work‑return certificates, offering step‑by‑step solutions such as installing the correct package, resolving name conflicts, and correctly placing template files.
Pythonautomationdocx-mailmerge
0 likes · 6 min read

This tutorial explains why changing pip's default source to a domestic mirror can dramatically improve download speed and reliability, lists popular Chinese mirrors, and shows the single command needed to permanently configure pip for faster package installation.
Tutorialconfigurationmirror
0 likes · 4 min read

This guide explains why changing pip's default source to a Chinese mirror dramatically speeds up package installation, lists popular domestic mirrors, and provides step‑by‑step instructions with screenshots to permanently configure pip on Windows.
Tutorialmirrorpackage installation
0 likes · 5 min read

Learn how to bypass slow or timed‑out Python package installations by using popular domestic mirror sites, and configure pip for temporary or permanent use on both Windows and Linux environments.
Chinapackage-mirrorpip
0 likes · 3 min read

This tutorial walks you through why virtual environment management tools are needed, how to install virtualenvwrapper on Windows and Linux, configure system variables, and use commands such as workon, mkvirtualenv, and rmvirtualenv to list, create, activate, deactivate, and delete Python virtual environments efficiently.
Pythondevelopmentpip
0 likes · 6 min read

This article explains the purpose of Python virtual environments, highlights common issues caused by unmanaged third‑party packages, and provides a detailed, illustrated walkthrough for creating, activating, using, and deactivating a virtualenv to keep projects isolated and reproducible.
Tutorialdependency managementenvironment isolation
0 likes · 6 min read


21CTODec 29, 2019 · Backend Development
The Python Software Foundation secured $407,000 from Mozilla and the Chan Zuckerberg Initiative to fund pip’s 2020 development, outlining a three‑phase plan that includes core improvements, resolver work, and sustainability efforts to strengthen the Python packaging ecosystem.
Pythonbackend-developmentopen-source
0 likes · 4 min read

Python Software Foundation announced $407,000 in funding from Mozilla’s Open Source Support program and the Chan Zuckerberg Initiative to support pip’s 2020 development, outlining a three‑phase plan covering core work, resolver redesign, and long‑term maintenance, while detailing allocation of resources and future funding goals.
Pythondependency resolveropen-source funding
0 likes · 4 min read

This guide explains why pip downloads from overseas are slow, lists reliable Chinese mirror URLs, and shows both temporary and permanent methods to configure pip on Windows, Linux, and macOS for faster package installation.
Linuxinstallationmirrors
0 likes · 4 min read

When rebuilding a Plotly environment on macOS, pip fails to uninstall the system‑installed NumPy, causing pandas installation errors, and the solution involves manually removing NumPy’s egg‑info, using a reliable PyPI mirror, and selecting compatible library versions.
NumPyPandasPlotly
0 likes · 4 min read

This guide explains two methods for creating a Python project's requirements.txt file—using pip freeze within a virtualenv and using the pipreqs tool to automatically scan source code—highlighting their commands, advantages, and the need for manual verification of the generated dependencies.
Pythondependency managementpip
0 likes · 3 min read

This guide walks through installing Python, pip, RobotFramework and its HTTP library, then demonstrates a complete RobotFramework test case that defines variables, creates an HTTP context, handles error scenarios, and validates response status and body content.
API TestingHTTP TestingPython
0 likes · 2 min read

This article explains the relationships and differences among Python's package management tools—including distutils, setuptools, distribute, easy_install, and pip—showing how to create packages with setup.py, install them, and choose the right tool for various scenarios.
distutilspackage managementpip
0 likes · 7 min read

This article explains the relationships among Python's package management tools—including distutils, setuptools, distribute, easy_install, and pip—provides practical examples, command references, and guidance on choosing the right tool for your projects.
distutilspackage-managementpip
0 likes · 7 min read

This guide walks you through downloading the Anaconda installer, running the setup, configuring the environment on Windows, and using the Anaconda Prompt to manage packages and launch Spyder, all illustrated with clear screenshots and command examples.
AnacondaPythonSpyder
0 likes · 5 min read

This guide walks you through installing virtualenv via pip or source, creating and activating a Python 3.6 virtual environment for a project, and seamlessly integrating it into PyCharm on Windows, enabling simultaneous use of Python 2.7 and 3.6 for development.
EnvironmentPythonpip
0 likes · 5 min read

This guide explains how to install virtualenv, create and manage isolated Python environments, and leverage virtualenvwrapper for easier environment handling, including essential commands, configuration steps, and troubleshooting tips for macOS users.
Environmentdevelopmentpip
0 likes · 4 min read

This guide walks you through installing Flake8 on CentOS 6.4 with Python 2.6, adding optional plugins, running the linter on your files, and integrating it into Git hooks to automatically enforce coding standards.
code qualityflake8git-hooks
0 likes · 3 min read
