4.65 FAQ-1075 How to download Python packages from mirror repository by default?

Last Update: 11/11/2020

When you download and install Python package by using:

  • LabTalk command pip install SomePackage
  • menu Connectivity: Python Packages > Install button

you can follow steps below to switch the default mirror repository.

  1. Find the pip.ini file at (although it is hidden): C:\ProgramData\pip\pip.ini
    if no, create one yourself.
  2. Open pip.ini, configure desired minrror repository like this:
    [global]
    index-url = https://mirrors.aliyun.com/pypi/simple
  3. Save the ini file.

Keywords:python, pypi, pip config, mirror PyPi repository, install