As a reminder, I can't find any changes to the default repository. The setting is CentOS. I don't know Windows. .. ..
UPLOAD SETUP
$ > vim ~/.pypirc
Enter the following settings.
[distutils]
index-servers = pypi
xxxx <=My repository
[xxxx] <=My repository
repository: http://xxxxxx <=Http is enough for closed environment
username: xxxx
password: xxxx
DOWNLOAD SETUP
$ > mkdir ~/.pip
$ > vim ~/.pip/pip.conf
Enter the following settings.
If you do it as root, you can use sudo pip install.
If you do it with user privileges, you can use it when installing Coder or VS Code.
[global]
index-url: YourURL
trusted-host: IP or domain
Setting trusted-host will eliminate http errors.
After that, you can use pip install normally.
Recommended Posts