Skip to content

Commit e69571e

Browse files
Update 5_project_publishing.md
1 parent f80e55c commit e69571e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

episodes/5_project_publishing.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,20 @@ Installing collected packages: greet-me1
223223
Successfully installed greet-me1-0.1.7
224224
```
225225

226+
In case you get an error like this :
227+
```output
228+
ERROR: Could not find a version that satisfies the requirement requests<3,>=2.32.5 (from pixi-demo1) (from versions: 2.5.4.1)
229+
ERROR: No matching distribution found for requests<3,>=2.32.5
230+
```
231+
232+
resolve it by adding this extra parameter `--extra-index-url https://pypi.org/simple/` to your `pip install` command.
233+
This tells the pip command to also look for packages in the extra URL provided.
234+
235+
```bash
236+
pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ greet-me1==0.1.0
237+
```
238+
239+
226240
Then create a test script : `test_package.py`:
227241

228242
```python

0 commit comments

Comments
 (0)