refactor: fix Chemisty → Chemistry spelling

This commit is contained in:
vh
2026-04-08 15:48:44 -07:00
parent 7aa7e5efcd
commit 656d2031d6
155 changed files with 1389 additions and 0 deletions
+55
View File
@@ -0,0 +1,55 @@
---
created: '2026-04-05T05:39:08+00:00'
id: 2228bc45-3724-4826-a9a6-b92df8c3ff28
keywords:
- pip
- all_proxy
- python
- trusted-host
- proxy
- http
- pypi.org
- pypi.python.org
- files.pythonhosted.org
- package_name
- set
- environment
- variables
- http_proxy
- https_proxy
links: []
modified: '2026-04-05T05:39:08+00:00'
summary: To resolve slow pip package installations in a colo-hosted environment, a
local proxy (mitmproxy) was implemented on Windows, requiring pip commands with
`--proxy` and `--trusted-host` flags, or for UV, setting environment variables like
`HTTP_PROXY`.
tags: []
title: '2025-01-28'
---
#networking #python #ai
Today, I had some trouble installing some pip/python packages at my colo hosted by Cogent in Anaheim.
Pip direct installs were very slow.
The problem was solved by running a local proxy on my windows machine (mitmproxy)
The following command lines for PIP were used to make it work:
```python
pip install --proxy http://10.0.10.10:8080 --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org <package_name>
```
When using UV, set environment variables:
set environment variables
```
HTTP_PROXY`
`HTTPS_PROXY`
ALL_PROXY''
```
IE:
> export ALL_PROXY=http://123.123.123.123:8080