Skip to Content
Linux Service Configuration GuideStarcom Cloud PyPI Private Source Configuration

Starcom Cloud PyPI Private Source Configuration

PyPI is the official repository of third-party libraries in Python.

To address the issues of limited access speed, restricted concurrent requests, frequent packet loss, and timeouts when accessing the default official source in China, Starcom Cloud’s PyPI private source offers pure intranet access. On Starcom Cloud cloud hosts, you can obtain the required Python Package without an external IP address.

Global Configuration

Configure the following content in the ~/.pip/pip.conf file:

[global] index-url = https://pypi.internal-mirrors.starcom.co.id/simple

Specified Source for Installing Python Package

pip3 install flask -i https://pypi.internal-mirrors.starcom.co.id/simple