14-11-2023
This commit is contained in:
@@ -452,6 +452,58 @@ mkdocs-tooltipster-links-plugin (0.1.0) - An MkDocs plugin
|
||||
|
||||
|
||||
|
||||
#### Connaitre toutes les versions disponibles d'un module:
|
||||
|
||||
*Depuis pypi.org avec curl:*
|
||||
|
||||
```bash
|
||||
# $ curl -L -s "https://pypi.org/pypi/<$PACKAGE>/json" | jq -r '.releases | keys | .[]' | sort -V
|
||||
|
||||
$ curl -L -s "https://pypi.org/pypi/geomet/json" | jq -r '.releases | keys | .[]' | sort -V
|
||||
0.1.0
|
||||
0.1.1
|
||||
0.1.2
|
||||
0.2.0.post2
|
||||
0.2.1
|
||||
0.2.1.post1
|
||||
0.3.0
|
||||
```
|
||||
|
||||
*pip >= 21.2*
|
||||
|
||||
```bash
|
||||
$ pip index versions geomet
|
||||
WARNING: pip index is currently an experimental command. It may be removed/changed in a future release without prior warning.
|
||||
geomet (0.3.0)
|
||||
Available versions: 0.3.0, 0.2.1.post1, 0.2.0.post2, 0.1.2, 0.1.1, 0.1.0
|
||||
INSTALLED: 0.3.0
|
||||
LATEST: 0.3.0
|
||||
```
|
||||
|
||||
*Précédentes versions de pip:*
|
||||
|
||||
```bash
|
||||
# en ne précisant pas la version
|
||||
$ pip install geomet==
|
||||
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
|
||||
ERROR: Ignored the following versions that require a different python version: 0.2.1 Requires-Python >2.6, !=3.3.*, <3.8
|
||||
ERROR: Could not find a version that satisfies the requirement geomet== (from versions: 0.1.0, 0.1.1, 0.1.2, 0.2.0.post2, 0.2.1.post1, 0.3.0)
|
||||
ERROR: No matching distribution found for geomet==
|
||||
```
|
||||
|
||||
```bash
|
||||
$ pip install geomet== --use-deprecated=legacy-resolver
|
||||
```
|
||||
|
||||
```bash
|
||||
# en spécifiant une version qui n'existe pas:
|
||||
$ pip install geomet==9999
|
||||
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
|
||||
ERROR: Ignored the following versions that require a different python version: 0.2.1 Requires-Python >2.6, !=3.3.*, <3.8
|
||||
ERROR: Could not find a version that satisfies the requirement geomet==9999 (from versions: 0.1.0, 0.1.1, 0.1.2, 0.2.0.post2, 0.2.1.post1, 0.3.0)
|
||||
ERROR: No matching distribution found for geomet==9999
|
||||
```
|
||||
|
||||
|
||||
|
||||
## Dépendances:
|
||||
|
||||
Reference in New Issue
Block a user