MaJ du 04-02-2021
This commit is contained in:
@@ -42,7 +42,31 @@ $ python3 -m site --user-base
|
||||
/Users/bruno/Library/Python/3.7
|
||||
```
|
||||
|
||||
[Pipenv](https://docs.pipenv.org)
|
||||
|
||||
|
||||
### Pipenv
|
||||
|
||||
#### Outil qui remplace pip et virtualenv
|
||||
|
||||
https://github.com/pypa/pipenv
|
||||
|
||||
[Docs](https://pipenv.pypa.io/en/latest/)
|
||||
|
||||
|
||||
|
||||
### Pyenv
|
||||
|
||||
#### Python Version Management
|
||||
|
||||
https://github.com/pyenv/pyenv
|
||||
|
||||
|
||||
|
||||
### Venv (Pyvenv)
|
||||
|
||||
#### Outil pour créer un environnement virtuel
|
||||
|
||||
Fournit avec Python (>= 3.4). Similaire à virtualenv.
|
||||
|
||||
|
||||
|
||||
@@ -249,3 +273,35 @@ sudo mkdir /usr/local/Frameworks
|
||||
sudo chown $(whoami):admin /usr/local/Frameworks
|
||||
```
|
||||
|
||||
|
||||
|
||||
#### Python@39: Error: The brew link step did not complete successfully
|
||||
|
||||
```bash
|
||||
==> Pouring python@3.9-3.9.1_4.big_sur.bottle.tar.gz
|
||||
Error: The `brew link` step did not complete successfully
|
||||
The formula built, but is not symlinked into /usr/local
|
||||
Could not symlink bin/easy_install-3.9
|
||||
Target /usr/local/bin/easy_install-3.9
|
||||
already exists. You may want to remove it:
|
||||
rm '/usr/local/bin/easy_install-3.9'
|
||||
|
||||
To force the link and overwrite all conflicting files:
|
||||
brew link --overwrite python@3.9
|
||||
|
||||
To list all files that would be deleted:
|
||||
brew link --overwrite --dry-run python@3.9
|
||||
|
||||
Possible conflicting files are:
|
||||
/usr/local/bin/easy_install-3.9
|
||||
/usr/local/bin/pip3
|
||||
/usr/local/bin/pip3.9
|
||||
```
|
||||
|
||||
```bash
|
||||
$ brew link --overwrite --dry-run python@3.9
|
||||
# puis
|
||||
$ rm '/usr/local/bin/easy_install-3.9'
|
||||
$ brew link --overwrite python@3.9
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user