# ERROR: Could not fetch URL https://pypi.org/simple/package/: Connection timed out

- **ID:** `python/pip-index-url-timeout`
- **Domain:** python
- **Category:** network_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

Network connectivity issues or PyPI is unreachable from the current network.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 3.8 | active | — | — |
| 3.9 | active | — | — |
| 3.10 | active | — | — |

## Workarounds

1. **Use a mirror or proxy** (90% success)
   ```
   pip install --index-url https://mirrors.aliyun.com/pypi/simple/ package_name
   ```
2. **Increase timeout** (70% success)
   ```
   pip install --timeout 120 package_name
   ```

## Dead Ends

- **Retrying the command** — May time out again. (60% fail)
- **Using a different DNS** — May not solve routing issues. (40% fail)
