You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use [**Poetry**](https://python-poetry.org/) for dependency management. It handles dependencies, virtual environments, and locking versions more efficiently than pip. To install dependencies using Poetry:
70
+
Use [**Poetry**](https://python-poetry.org/) for dependency management. It handles dependencies, virtual environments, and locking versions more efficiently than pip.
71
+
To install exact dependency versions specified in [**poetry.lock**](./poetry.lock) for consistent environments **without** installing the current project as a package:
92
72
93
-
-**Option 1 [Recommended]**: Install exact dependency versions specified in [**poetry.lock**](./poetry.lock) for consistent environments:
94
-
95
-
```bash
96
-
poetry install
97
-
```
98
-
99
-
-**Option 2**: Install the latest compatible dependency versions from [**pyproject.toml**](./pyproject.toml) and regenerate the [**poetry.lock**](./poetry.lock) file:
100
-
101
-
```bash
102
-
poetry install --no-root
103
-
```
73
+
```bash
74
+
poetry install --no-root
75
+
```
104
76
105
77
#### 📦 Method 2: Pip
106
78
@@ -110,40 +82,6 @@ Install all dependencies listed in [**requirements.txt**](./requirements.txt) us
110
82
pip install -r requirements.txt
111
83
```
112
84
113
-
#### 🌐 Connection Issues
114
-
115
-
If you encounter connection issues during installation, you can try extending the **timeout** and increasing the number of **retries** with the following:
116
-
117
-
-**For Poetry**: Use the following command to set the retries and timeout directly in the terminal **before running the install**:
118
-
-**Windows**:
119
-
-**PowerShell**:
120
-
121
-
```bash
122
-
$env:POETRY_HTTP_TIMEOUT=300
123
-
$env:POETRY_HTTP_RETRIES=10
124
-
```
125
-
126
-
- **Command Prompt**:
127
-
128
-
```bash
129
-
set POETRY_HTTP_TIMEOUT=300
130
-
set POETRY_HTTP_RETRIES=10
131
-
```
132
-
133
-
- **Linux/macOS**:
134
-
- **Terminal**:
135
-
136
-
```bash
137
-
export POETRY_HTTP_TIMEOUT=300
138
-
export POETRY_HTTP_RETRIES=10
139
-
```
140
-
141
-
- **For Pip**: Use the `--retries` and `--timeout` flags directly in your pip command:
1. Open the root folder with [**VS Code**](https://code.visualstudio.com/) (`Ctrl/Cmd + K` followed by `Ctrl/Cmd + O`).
@@ -186,6 +124,10 @@ If you encounter connection issues during installation, you can try extending th
186
124
- An open-source **machine learning** library for Python developed by [**Meta AI**](https://ai.meta.com/), used for applications such as **deep learning** and **neural networks**.
187
125
- Official site: [pytorch.org](https://pytorch.org/)
188
126
- My PyTorch Workshop: [github.com/mr-pylin/pytorch-workshop](https://github.com/mr-pylin/pytorch-workshop)
127
+
-**Media Processing**
128
+
- A comprehensive resource to explore media processing, from fundamental concepts to advanced techniques.
129
+
- Official sites: [opencv.org](https://opencv.org/) | [scikit-image.org](https://scikit-image.org/) | [scipy.org](https://scipy.org/)
130
+
- My Media Processing Workshop: [github.com/mr-pylin/media-processing-workshop](https://github.com/mr-pylin/media-processing-workshop)
0 commit comments