4.64 FAQ-1075 How to download Python packages from mirror repository by default?
Download-Python-Package-from-MirrorRepository
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.
- Find the pip.ini file at (although it is hidden):
C:\ProgramData\pip\pip.ini
if no, create one yourself.
- Open pip.ini, configure desired minrror repository like this:
[global]
index-url = https://mirrors.aliyun.com/pypi/simple
- Save the ini file.
Keywords:python, pypi, pip config, mirror PyPi repository, install