Autojump: erreur de hachage md5 sur Mac

Créé le 13 juin 2018  ·  34Commentaires  ·  Source: wting/autojump

J'installe autojump et ça marche assez bien jusqu'à aujourd'hui.
Chaque fois que j'ouvre un répertoire, une masse de messages d'erreur python est imprimée sur le terminal.
J'installe buck et watchman avec homebrew aujourd'hui.

Si je désinstalle autojump, le message d'erreur est rejeté.
Y a-t-il un moyen de le réparer?


Le détail du message d'erreur est le suivant :

ERREUR : racine : le code pour le hachage md5 n'a pas été trouvé.
Traceback (appel le plus récent en dernier) :
Fichier " /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 147, dans
globals()[__func_name] = __get_hash(__func_name)
Fichier " /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 97, dans __get_builtin_constructor
augmenter ValueError('type de hachage non pris en charge ' + nom)
ValueError : type de hachage md5 non pris en charge
ERREUR : racine : le code pour le hachage sha1 n'a pas été trouvé.
Traceback (appel le plus récent en dernier) :
Fichier " /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 147, dans
globals()[__func_name] = __get_hash(__func_name)
Fichier " /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 97, dans __get_builtin_constructor
augmenter ValueError('type de hachage non pris en charge ' + nom)
ValueError : type de hachage non pris en charge sha1
ERREUR : racine : le code pour le hachage sha224 n'a pas été trouvé.
Traceback (appel le plus récent en dernier) :
Fichier " /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 147, dans
globals()[__func_name] = __get_hash(__func_name)
Fichier " /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 97, dans __get_builtin_constructor
augmenter ValueError('type de hachage non pris en charge ' + nom)
ValueError : type de hachage non pris en charge sha224
ERREUR : racine : le code pour le hachage sha256 n'a pas été trouvé.
Traceback (appel le plus récent en dernier) :
Fichier " /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 147, dans
globals()[__func_name] = __get_hash(__func_name)
Fichier " /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 97, dans __get_builtin_constructor
augmenter ValueError('type de hachage non pris en charge ' + nom)
ValueError : type de hachage sha256 non pris en charge
ERREUR : racine : le code pour le hachage sha384 n'a pas été trouvé.
Traceback (appel le plus récent en dernier) :
Fichier " /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 147, dans
globals()[__func_name] = __get_hash(__func_name)
Fichier " /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 97, dans __get_builtin_constructor
augmenter ValueError('type de hachage non pris en charge ' + nom)
ValueError : type de hachage sha384 non pris en charge
ERREUR : racine : le code pour le hachage sha512 n'a pas été trouvé.
Traceback (appel le plus récent en dernier) :
Fichier " /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 147, dans
globals()[__func_name] = __get_hash(__func_name)
Fichier " /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 97, dans __get_builtin_constructor
augmenter ValueError('type de hachage non pris en charge ' + nom)
ValueError : type de hachage sha512 non pris en charge
/Utilisateurs/huxuyang/dev/BeautyCamera
➜ BeautyCamera git:(feature-v1.7.7) ✗ ERREUR:root :code for hash md5 introuvable.
Traceback (appel le plus récent en dernier) :
Fichier " /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 147, dans
globals()[__func_name] = __get_hash(__func_name)
Fichier " /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 97, dans __get_builtin_constructor
augmenter ValueError('type de hachage non pris en charge ' + nom)
ValueError : type de hachage md5 non pris en charge
ERREUR : racine : le code pour le hachage sha1 n'a pas été trouvé.
Traceback (appel le plus récent en dernier) :
Fichier " /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 147, dans
globals()[__func_name] = __get_hash(__func_name)
Fichier " /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 97, dans __get_builtin_constructor
augmenter ValueError('type de hachage non pris en charge ' + nom)
ValueError : type de hachage non pris en charge sha1
ERREUR : racine : le code pour le hachage sha224 n'a pas été trouvé.
Traceback (appel le plus récent en dernier) :
Fichier " /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 147, dans
globals()[__func_name] = __get_hash(__func_name)
Fichier " /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 97, dans __get_builtin_constructor
augmenter ValueError('type de hachage non pris en charge ' + nom)
ValueError : type de hachage non pris en charge sha224
ERREUR : racine : le code pour le hachage sha256 n'a pas été trouvé.
Traceback (appel le plus récent en dernier) :
Fichier " /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 147, dans
globals()[__func_name] = __get_hash(__func_name)
Fichier " /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 97, dans __get_builtin_constructor
augmenter ValueError('type de hachage non pris en charge ' + nom)
ValueError : type de hachage sha256 non pris en charge
ERREUR : racine : le code pour le hachage sha384 n'a pas été trouvé.
Traceback (appel le plus récent en dernier) :
Fichier " /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 147, dans
globals()[__func_name] = __get_hash(__func_name)
Fichier " /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 97, dans __get_builtin_constructor
augmenter ValueError('type de hachage non pris en charge ' + nom)
ValueError : type de hachage sha384 non pris en charge
ERREUR : racine : le code pour le hachage sha512 n'a pas été trouvé.
Traceback (appel le plus récent en dernier) :
Fichier " /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 147, dans
globals()[__func_name] = __get_hash(__func_name)
Fichier " /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 97, dans __get_builtin_constructor
augmenter ValueError('type de hachage non pris en charge ' + nom)
ValueError : type de hachage sha512 non pris en charge

invalid packaging-homebrew

Commentaire le plus utile

Cela a résolu le problème pour moi : brew reinstall python@2

Tous les 34 commentaires

La raison semble être qu'OS X utilise ssl lib au lieu d'openssl. Ainsi, si nous brassons install openssl, les deux lib entrent en conflit. La promenade peut être trouvée ici: https://github.com/dotnet/cli/issues/3964#issuecomment -236493536

Ce problème peut être clos maintenant, merci.

Merci de partager la cause première.

ERREUR : racine : le code pour le hachage md5 n'a pas été trouvé.
Traceback (appel le plus récent en dernier) :
Fichier " /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 147, dans
globals()[__func_name] = __get_hash(__func_name)
Fichier " /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 97, dans __get_builtin_constructor
augmenter ValueError('type de hachage non pris en charge ' + nom)
ValueError : type de hachage md5 non pris en charge
ERREUR : racine : le code pour le hachage sha1 n'a pas été trouvé.
Traceback (appel le plus récent en dernier) :
Fichier " /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 147, dans
globals()[__func_name] = __get_hash(__func_name)
Fichier " /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 97, dans __get_builtin_constructor
augmenter ValueError('type de hachage non pris en charge ' + nom)
ValueError : type de hachage non pris en charge sha1
ERREUR : racine : le code pour le hachage sha224 n'a pas été trouvé.
Traceback (appel le plus récent en dernier) :
Fichier " /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 147, dans
globals()[__func_name] = __get_hash(__func_name)
Fichier " /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 97, dans __get_builtin_constructor
augmenter ValueError('type de hachage non pris en charge ' + nom)
ValueError : type de hachage non pris en charge sha224
ERREUR : racine : le code pour le hachage sha256 n'a pas été trouvé.
Traceback (appel le plus récent en dernier) :
Fichier " /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 147, dans
globals()[__func_name] = __get_hash(__func_name)
Fichier " /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 97, dans __get_builtin_constructor
augmenter ValueError('type de hachage non pris en charge ' + nom)
ValueError : type de hachage sha256 non pris en charge
ERREUR : racine : le code pour le hachage sha384 n'a pas été trouvé.
Traceback (appel le plus récent en dernier) :
Fichier " /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 147, dans
globals()[__func_name] = __get_hash(__func_name)
Fichier " /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 97, dans __get_builtin_constructor
augmenter ValueError('type de hachage non pris en charge ' + nom)
ValueError : type de hachage sha384 non pris en charge
ERREUR : racine : le code pour le hachage sha512 n'a pas été trouvé.
Traceback (appel le plus récent en dernier) :
Fichier " /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 147, dans
globals()[__func_name] = __get_hash(__func_name)
Fichier " /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 97, dans __get_builtin_constructor
augmenter ValueError('type de hachage non pris en charge ' + nom)
ValueError : type de hachage sha512 non pris en charge

Même problème, fonctionne après la suppression de python@2 brew uninstall python@2 .

Cela a résolu le problème pour moi : brew reinstall python@2

Cela a résolu le problème pour moi : brew reinstall python@2

Merci!

Cela a résolu le problème pour moi : brew reinstall python@2

Merci, a travaillé pour moi!

Cela a résolu le problème pour moi : brew reinstall python@2

Merci, ça a fonctionné pour moi aussi ! Bonne année 2020 !!!

pourquoi la réinstallation de python a-t-elle fonctionné !

Parce que j'utilise : pyenv.

Alors utilise pyenv install -f 2.7.17 pour résoudre mon problème

Cela a résolu le problème pour moi : brew reinstall python@2

A travaillé pour moi aussi, Gracias !!

Cela a résolu le problème pour moi : brew reinstall python@2

a fonctionné pour moi aussi! Merci!

Cela a résolu le problème pour moi : brew reinstall python@2

Fixé. Merci.

pas pour moi?

➜  LandUse git:(country) ✗ brew reinstall python<strong i="6">@2</strong>
==> Reinstalling python<strong i="7">@2</strong> 
Error: An exception occurred within a child process:
  FormulaUnavailableError: No available formula with the name "/usr/local/opt/python@2/.brew/[email protected]" 

Pareil ici:

Erreur : Une exception s'est produite dans un processus enfant :
FormulaUnavailableError : aucune formule disponible portant le nom " /usr/local/opt/python@2/.brew/[email protected] "

Pareil ici:

Erreur : Une exception s'est produite dans un processus enfant :
FormulaUnavailableError : aucune formule disponible portant le nom " /usr/local/opt/python@2/.brew/[email protected] "

enregistrez le fichier sous [email protected] dans votre OSX

https://raw.githubusercontent.com/Homebrew/homebrew-core/94d572a132a63651739fef1931f540404b7eaa31/Formula/python%402.rb

alors

brasser réinstaller [email protected]

Cela fonctionne pour moi pour résoudre l'erreur " ERREUR: racine : le code pour le hachage md5 n'a pas été trouvé. ".
Juste un peu déroutant pour brasser le contrôle de version.

@slixurd ta solution a fonctionné pour moi aussi, merci !

J'ai aussi appris que l'on peut installer un package via brew à partir d'un fichier, solution astucieuse 👍

désolé @slixurd @chrisnankervis où exactement dois-je enregistrer ce script ruby ​​auquel vous êtes lié ci-dessus sur mon ordinateur ? Merci

désolé @slixurd @chrisnankervis où exactement dois-je enregistrer ce script ruby ​​auquel vous êtes lié ci-dessus sur mon ordinateur ? Merci

n'importe où. exécutez simplement la commande brew reinstall [email protected] dans le même répertoire.

@slixurd Merci

@slixurd a travaillé pour moi. Merci!

Erreur : Une exception s'est produite dans un processus enfant :
FormulaUnavailableError : Aucune formule disponible avec le nom " /usr/local/Cellar/python@2/2.7.15_1/.brew/[email protected] "

ERREUR : racine : le code pour le hachage md5 n'a pas été trouvé.
Traceback (appel le plus récent en dernier) :
Fichier " /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 147, dans
globals()[__func_name] = __get_hash(__func_name)
Fichier " /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 97, dans __get_builtin_constructor
augmenter ValueError('type de hachage non pris en charge ' + nom)
ValueError : type de hachage md5 non pris en charge
ERREUR : racine : le code pour le hachage sha1 n'a pas été trouvé.
Traceback (appel le plus récent en dernier) :
Fichier " /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 147, dans
globals()[__func_name] = __get_hash(__func_name)
Fichier " /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 97, dans __get_builtin_constructor
augmenter ValueError('type de hachage non pris en charge ' + nom)
ValueError : type de hachage non pris en charge sha1
ERREUR : racine : le code pour le hachage sha224 n'a pas été trouvé.
Traceback (appel le plus récent en dernier) :
Fichier " /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 147, dans
globals()[__func_name] = __get_hash(__func_name)
Fichier " /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 97, dans __get_builtin_constructor
augmenter ValueError('type de hachage non pris en charge ' + nom)
ValueError : type de hachage non pris en charge sha224
ERREUR : racine : le code pour le hachage sha256 n'a pas été trouvé.
Traceback (appel le plus récent en dernier) :
Fichier " /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 147, dans
globals()[__func_name] = __get_hash(__func_name)
Fichier " /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 97, dans __get_builtin_constructor
augmenter ValueError('type de hachage non pris en charge ' + nom)
ValueError : type de hachage sha256 non pris en charge
ERREUR : racine : le code pour le hachage sha384 n'a pas été trouvé.
Traceback (appel le plus récent en dernier) :
Fichier " /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 147, dans
globals()[__func_name] = __get_hash(__func_name)
Fichier " /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 97, dans __get_builtin_constructor
augmenter ValueError('type de hachage non pris en charge ' + nom)
ValueError : type de hachage sha384 non pris en charge
ERREUR : racine : le code pour le hachage sha512 n'a pas été trouvé.
Traceback (appel le plus récent en dernier) :
Fichier " /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 147, dans
globals()[__func_name] = __get_hash(__func_name)
Fichier " /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", ligne 97, dans __get_builtin_constructor
augmenter ValueError('type de hachage non pris en charge ' + nom)
ValueError : type de hachage sha512 non pris en charge

Même problème, fonctionne après la suppression de python@2 brew uninstall python@2 .

oui, cela a fonctionné pour moi, 3q

@slixurd
A travaillé pour moi. Merci! ??

brasser réinstaller [email protected]
Erreur : Une exception s'est produite dans un processus enfant :
FormulaUnavailableError : Aucune formule disponible avec le nom " /usr/local/Cellar/python@2/2.7.15_1/.brew/[email protected] "

brasser réinstaller [email protected]
Erreur : Une exception s'est produite dans un processus enfant :
FormulaUnavailableError : Aucune formule disponible avec le nom " /usr/local/Cellar/python@2/2.7.15_1/.brew/[email protected] "

Êtes-vous sûr que [email protected] trouve dans votre répertoire actuel ?

Essayez peut-être de réinstaller directement à partir de l'URL.

brew reinstall https://raw.githubusercontent.com/Homebrew/homebrew-core/94d572a132a63651739fef1931f540404b7eaa31/Formula/[email protected]

brasser réinstaller [email protected]
Erreur : Une exception s'est produite dans un processus enfant :
FormulaUnavailableError : Aucune formule disponible avec le nom " /usr/local/Cellar/python@2/2.7.15_1/.brew/[email protected] "

Êtes-vous sûr que [email protected] trouve dans votre répertoire actuel ?

Essayez peut-être de réinstaller directement à partir de l'URL.

brew reinstall https://raw.githubusercontent.com/Homebrew/homebrew-core/94d572a132a63651739fef1931f540404b7eaa31/Formula/[email protected]

Travaillé. Merci beaucoup!

brasser réinstaller [email protected]
Erreur : Une exception s'est produite dans un processus enfant :
FormulaUnavailableError : Aucune formule disponible avec le nom " /usr/local/Cellar/python@2/2.7.15_1/.brew/[email protected] "

Êtes-vous sûr que [email protected] trouve dans votre répertoire actuel ?

Essayez peut-être de réinstaller directement à partir de l'URL.

brew reinstall https://raw.githubusercontent.com/Homebrew/homebrew-core/94d572a132a63651739fef1931f540404b7eaa31/Formula/[email protected]

C'était un gros problème pour moi et ça a marché ! Merci.

brasser réinstaller [email protected]
Erreur : Une exception s'est produite dans un processus enfant :
FormulaUnavailableError : Aucune formule disponible avec le nom " /usr/local/Cellar/python@2/2.7.15_1/.brew/[email protected] "

Êtes-vous sûr que [email protected] trouve dans votre répertoire actuel ?

Essayez peut-être de réinstaller directement à partir de l'URL.

brew reinstall https://raw.githubusercontent.com/Homebrew/homebrew-core/94d572a132a63651739fef1931f540404b7eaa31/Formula/[email protected]

A fonctionné comme un charme! Merci beaucoup!

brasser réinstaller [email protected]
Erreur : Une exception s'est produite dans un processus enfant :
FormulaUnavailableError : Aucune formule disponible avec le nom " /usr/local/Cellar/python@2/2.7.15_1/.brew/[email protected] "

Êtes-vous sûr que [email protected] trouve dans votre répertoire actuel ?

Essayez peut-être de réinstaller directement à partir de l'URL.

brew reinstall https://raw.githubusercontent.com/Homebrew/homebrew-core/94d572a132a63651739fef1931f540404b7eaa31/Formula/[email protected]

A fonctionné pour moi :
brew réinstaller https://raw.githubusercontent.com/Homebrew/homebrew-core/94d572a132a63651739fef1931f540404b7eaa31/Formula/[email protected]

Merci!

brasser réinstaller [email protected]
Erreur : Une exception s'est produite dans un processus enfant :
FormulaUnavailableError : Aucune formule disponible avec le nom " /usr/local/Cellar/python@2/2.7.15_1/.brew/[email protected] "

Êtes-vous sûr que [email protected] trouve dans votre répertoire actuel ?

Essayez peut-être de réinstaller directement à partir de l'URL.

brew reinstall https://raw.githubusercontent.com/Homebrew/homebrew-core/94d572a132a63651739fef1931f540404b7eaa31/Formula/[email protected]

un si bon travail!
Merci!

brasser réinstaller [email protected]
Erreur : Une exception s'est produite dans un processus enfant :
FormulaUnavailableError : Aucune formule disponible avec le nom " /usr/local/Cellar/python@2/2.7.15_1/.brew/[email protected] "

Êtes-vous sûr que [email protected] trouve dans votre répertoire actuel ?
Essayez peut-être de réinstaller directement à partir de l'URL.

brew reinstall https://raw.githubusercontent.com/Homebrew/homebrew-core/94d572a132a63651739fef1931f540404b7eaa31/Formula/[email protected]

un si bon travail!
Merci!

Le PR a été fusionné. https://github.com/Homebrew/homebrew-core/pull/49796
brew upgrade python@2 fonctionne.

Solution de contournement pour l'erreur d'installation d'openvFor Mac -
$ Python macbookpro$ pip installer opencv-python
ERREUR : racine : le code pour le hachage md5 n'a pas été trouvé.

Essayez ces étapes :

$brew commutateur openssl 1.0.2r

puis activez votre environnement et essayez $ python -c "import hashlib;m=hashlib.md5();print(m.hexdigest())"

Puis pip installer opencv-python

La réinstallation et la mise à niveau ont échoué pour moi

✦ ❯ brew reinstall https://raw.githubusercontent.com/Homebrew/homebrew-core/94d572a132a63651739fef1931f540404b7eaa31/Formula/[email protected]
Error: Calling Installation of python<strong i="6">@2</strong> from a GitHub commit URL is disabled! Use 'brew extract python<strong i="7">@2</strong>' to stable tap on GitHub instead.

✦ ❯ brew upgrade python<strong i="8">@2</strong>
Warning: python<strong i="9">@2</strong> 2.7.17_1 already installed
~

Seul ce qui a fonctionné pour moi sur Catalina est-ce

$ brew tap-new <user>/homebrew-python2
$ brew extract python<strong i="13">@2</strong> <user>/homebrew-python2
$ brew install /usr/local/Homebrew/Library/Taps/<user>/homebrew-python2/Formula/[email protected]

Pareil ici:

Erreur : Une exception s'est produite dans un processus enfant :
FormulaUnavailableError : aucune formule disponible portant le nom " /usr/local/opt/python@2/.brew/[email protected] "

enregistrez le fichier sous [email protected] dans votre OSX

https://raw.githubusercontent.com/Homebrew/homebrew-core/94d572a132a63651739fef1931f540404b7eaa31/Formula/python%402.rb

alors

brasser réinstaller [email protected]

Cela fonctionne pour moi pour résoudre l'erreur " ERREUR: racine : le code pour le hachage md5 n'a pas été trouvé. ".
Juste un peu déroutant pour brasser le contrôle de version.

Merci! A travaillé pour moi. J'utilisais des environnements virtuels. Il fallait donc lier python et pip à /usr/local/bin/python et /usr/local/bin/pip .

$ ln -sf /usr/local/bin/python  ~/python_envs/env27/bin/python
$ ln -sf /usr/local/bin/pip  ~/python_envs/env27/bin/pip
Cette page vous a été utile?
0 / 5 - 0 notes

Questions connexes

hcsaustrup picture hcsaustrup  ·  9Commentaires

srid picture srid  ·  14Commentaires

pgrm picture pgrm  ·  4Commentaires

rsparkyc picture rsparkyc  ·  11Commentaires

shanyutou picture shanyutou  ·  3Commentaires