Autojump: Hash md5-Fehler auf dem Mac

Erstellt am 13. Juni 2018  ·  34Kommentare  ·  Quelle: wting/autojump

Ich installiere Autojump und es funktioniert bis heute ganz gut.
Jedes Mal, wenn ich ein Verzeichnis öffne, wird eine Menge Python-Fehlermeldungen auf dem Terminal ausgegeben.
Ich installiere heute buck und watchman mit Homebrew.

Wenn ich Autojump deinstalliere, wird der Fehler msg verworfen.
Gibt es eine Möglichkeit, es zu beheben?


Das Detail der Fehlernachricht lautet wie folgt:

FEHLER:root :code für hash md5 wurde nicht gefunden.
Traceback (letzter Anruf zuletzt):
Datei " /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", Zeile 147, in
globals()[__func_name] = __get_hash(__func_name)
Datei „ /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py “, Zeile 97, in __get_builtin_constructor
raise ValueError('nicht unterstützter Hash-Typ' + Name)
ValueError: nicht unterstützter Hash-Typ md5
FEHLER:root :code für Hash sha1 wurde nicht gefunden.
Traceback (letzter Anruf zuletzt):
Datei " /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", Zeile 147, in
globals()[__func_name] = __get_hash(__func_name)
Datei „ /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py “, Zeile 97, in __get_builtin_constructor
raise ValueError('nicht unterstützter Hash-Typ' + Name)
ValueError: nicht unterstützter Hash-Typ sha1
FEHLER:root :code für Hash sha224 wurde nicht gefunden.
Traceback (letzter Anruf zuletzt):
Datei " /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", Zeile 147, in
globals()[__func_name] = __get_hash(__func_name)
Datei „ /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py “, Zeile 97, in __get_builtin_constructor
raise ValueError('nicht unterstützter Hash-Typ' + Name)
ValueError: nicht unterstützter Hash-Typ sha224
FEHLER:root :code für Hash sha256 wurde nicht gefunden.
Traceback (letzter Anruf zuletzt):
Datei " /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", Zeile 147, in
globals()[__func_name] = __get_hash(__func_name)
Datei „ /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py “, Zeile 97, in __get_builtin_constructor
raise ValueError('nicht unterstützter Hash-Typ' + Name)
ValueError: nicht unterstützter Hash-Typ sha256
FEHLER:root : Code für Hash sha384 wurde nicht gefunden.
Traceback (letzter Anruf zuletzt):
Datei " /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", Zeile 147, in
globals()[__func_name] = __get_hash(__func_name)
Datei „ /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py “, Zeile 97, in __get_builtin_constructor
raise ValueError('nicht unterstützter Hash-Typ' + Name)
ValueError: nicht unterstützter Hash-Typ sha384
FEHLER:root : Code für Hash sha512 wurde nicht gefunden.
Traceback (letzter Anruf zuletzt):
Datei " /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", Zeile 147, in
globals()[__func_name] = __get_hash(__func_name)
Datei „ /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py “, Zeile 97, in __get_builtin_constructor
raise ValueError('nicht unterstützter Hash-Typ' + Name)
ValueError: nicht unterstützter Hash-Typ sha512
/Users/huxuyang/dev/BeautyCamera
➜ BeautyCamera git:(feature-v1.7.7) ✗ FEHLER :root :code für hash md5 wurde nicht gefunden.
Traceback (letzter Anruf zuletzt):
Datei " /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", Zeile 147, in
globals()[__func_name] = __get_hash(__func_name)
Datei „ /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py “, Zeile 97, in __get_builtin_constructor
raise ValueError('nicht unterstützter Hash-Typ' + Name)
ValueError: nicht unterstützter Hash-Typ md5
FEHLER:root :code für Hash sha1 wurde nicht gefunden.
Traceback (letzter Anruf zuletzt):
Datei " /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", Zeile 147, in
globals()[__func_name] = __get_hash(__func_name)
Datei „ /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py “, Zeile 97, in __get_builtin_constructor
raise ValueError('nicht unterstützter Hash-Typ' + Name)
ValueError: nicht unterstützter Hash-Typ sha1
FEHLER:root :code für Hash sha224 wurde nicht gefunden.
Traceback (letzter Anruf zuletzt):
Datei " /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", Zeile 147, in
globals()[__func_name] = __get_hash(__func_name)
Datei „ /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py “, Zeile 97, in __get_builtin_constructor
raise ValueError('nicht unterstützter Hash-Typ' + Name)
ValueError: nicht unterstützter Hash-Typ sha224
FEHLER:root : Code für Hash sha256 wurde nicht gefunden.
Traceback (letzter Anruf zuletzt):
Datei " /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", Zeile 147, in
globals()[__func_name] = __get_hash(__func_name)
Datei „ /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py “, Zeile 97, in __get_builtin_constructor
raise ValueError('nicht unterstützter Hash-Typ' + Name)
ValueError: nicht unterstützter Hash-Typ sha256
FEHLER:root : Code für Hash sha384 wurde nicht gefunden.
Traceback (letzter Anruf zuletzt):
Datei " /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", Zeile 147, in
globals()[__func_name] = __get_hash(__func_name)
Datei „ /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py “, Zeile 97, in __get_builtin_constructor
raise ValueError('nicht unterstützter Hash-Typ' + Name)
ValueError: nicht unterstützter Hash-Typ sha384
FEHLER:root : Code für Hash sha512 wurde nicht gefunden.
Traceback (letzter Anruf zuletzt):
Datei " /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", Zeile 147, in
globals()[__func_name] = __get_hash(__func_name)
Datei „ /usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py “, Zeile 97, in __get_builtin_constructor
raise ValueError('nicht unterstützter Hash-Typ' + Name)
ValueError: nicht unterstützter Hash-Typ sha512

invalid packaging-homebrew

Hilfreichster Kommentar

Das hat es für mich behoben: brew reinstall python@2

Alle 34 Kommentare

Der Grund scheint zu sein, dass OS X eine eigene SSL-Bibliothek anstelle von openssl verwendet. Wenn wir also Openssl installieren, kollidieren die beiden Bibliotheken. Rundgang finden Sie hier: https://github.com/dotnet/cli/issues/3964#issuecomment -236493536

Dieses Problem kann jetzt in der Nähe sein, danke.

Danke für das Teilen der Ursache.

FEHLER:root :code für hash md5 wurde nicht gefunden.
Traceback (letzter Anruf zuletzt):
Datei " /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", Zeile 147, in
globals()[__func_name] = __get_hash(__func_name)
Datei „ /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py “, Zeile 97, in __get_builtin_constructor
raise ValueError('nicht unterstützter Hash-Typ' + Name)
ValueError: nicht unterstützter Hash-Typ md5
FEHLER:root :code für Hash sha1 wurde nicht gefunden.
Traceback (letzter Anruf zuletzt):
Datei " /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", Zeile 147, in
globals()[__func_name] = __get_hash(__func_name)
Datei „ /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py “, Zeile 97, in __get_builtin_constructor
raise ValueError('nicht unterstützter Hash-Typ' + Name)
ValueError: nicht unterstützter Hash-Typ sha1
FEHLER:root :code für Hash sha224 wurde nicht gefunden.
Traceback (letzter Anruf zuletzt):
Datei " /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", Zeile 147, in
globals()[__func_name] = __get_hash(__func_name)
Datei „ /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py “, Zeile 97, in __get_builtin_constructor
raise ValueError('nicht unterstützter Hash-Typ' + Name)
ValueError: nicht unterstützter Hash-Typ sha224
FEHLER:root : Code für Hash sha256 wurde nicht gefunden.
Traceback (letzter Anruf zuletzt):
Datei " /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", Zeile 147, in
globals()[__func_name] = __get_hash(__func_name)
Datei „ /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py “, Zeile 97, in __get_builtin_constructor
raise ValueError('nicht unterstützter Hash-Typ' + Name)
ValueError: nicht unterstützter Hash-Typ sha256
FEHLER:root : Code für Hash sha384 wurde nicht gefunden.
Traceback (letzter Anruf zuletzt):
Datei " /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", Zeile 147, in
globals()[__func_name] = __get_hash(__func_name)
Datei „ /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py “, Zeile 97, in __get_builtin_constructor
raise ValueError('nicht unterstützter Hash-Typ' + Name)
ValueError: nicht unterstützter Hash-Typ sha384
FEHLER:root : Code für Hash sha512 wurde nicht gefunden.
Traceback (letzter Anruf zuletzt):
Datei " /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", Zeile 147, in
globals()[__func_name] = __get_hash(__func_name)
Datei „ /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py “, Zeile 97, in __get_builtin_constructor
raise ValueError('nicht unterstützter Hash-Typ' + Name)
ValueError: nicht unterstützter Hash-Typ sha512

Gleiches Problem, funktioniert nach dem Entfernen von python@2 brew uninstall python@2 .

Das hat es für mich behoben: brew reinstall python@2

Das hat es für mich behoben: brew reinstall python@2

Dankeschön!

Das hat es für mich behoben: brew reinstall python@2

Danke, hat bei mir funktioniert!

Das hat es für mich behoben: brew reinstall python@2

Danke, hat bei mir auch funktioniert! Frohes neues Jahr 2020!!!

Warum hat die Neuinstallation von Python funktioniert?

Weil ich verwende: pyenv.

Also benutze pyenv install -f 2.7.17 um mein Problem zu lösen

Das hat es für mich behoben: brew reinstall python@2

Hat auch bei mir funktioniert, Gracias!!

Das hat es für mich behoben: brew reinstall python@2

hat bei mir auch funktioniert! Vielen Dank!

Das hat es für mich behoben: brew reinstall python@2

Fest. Dankeschön.

nicht für mich?

➜  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]" 

Hier gilt das gleiche:

Fehler: In einem untergeordneten Prozess ist eine Ausnahme aufgetreten:
FormulaUnavailableError: Keine verfügbare Formel mit dem Namen " /usr/local/opt/python@2/.brew/[email protected] "

Hier gilt das gleiche:

Fehler: In einem untergeordneten Prozess ist eine Ausnahme aufgetreten:
FormulaUnavailableError: Keine verfügbare Formel mit dem Namen " /usr/local/opt/python@2/.brew/[email protected] "

Speichern Sie die Datei als [email protected] in Ihrem OSX

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

dann

brew neu installieren [email protected]

Bei mir funktioniert es, um den Fehler " ERROR:root :code for hash md5 was not found." zu beheben.
Nur ein wenig verwirren, um die Versionskontrolle zu brauen.

@slixurd deine Lösung hat auch bei mir funktioniert, danke!

Ich habe auch gelernt, dass man ein Paket per brew aus einer Datei installieren kann, eine raffinierte Lösung 👍

Entschuldigung @slixurd @chrisnankervis wo genau muss ich das Ruby-Skript, auf das Sie oben

Entschuldigung @slixurd @chrisnankervis wo genau muss ich das Ruby-Skript, auf das Sie oben

irgendein Ort. Führen Sie einfach den Befehl brew reinstall [email protected] im selben Verzeichnis aus.

@slixurd Danke

@slixurd Hat bei mir

Fehler: In einem untergeordneten Prozess ist eine Ausnahme aufgetreten:
FormulaUnavailableError: Keine verfügbare Formel mit dem Namen " /usr/local/Cellar/python@2/2.7.15_1/.brew/[email protected] "

FEHLER:root :code für hash md5 wurde nicht gefunden.
Traceback (letzter Anruf zuletzt):
Datei " /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", Zeile 147, in
globals()[__func_name] = __get_hash(__func_name)
Datei „ /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py “, Zeile 97, in __get_builtin_constructor
raise ValueError('nicht unterstützter Hash-Typ' + Name)
ValueError: nicht unterstützter Hash-Typ md5
FEHLER:root :code für Hash sha1 wurde nicht gefunden.
Traceback (letzter Anruf zuletzt):
Datei " /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", Zeile 147, in
globals()[__func_name] = __get_hash(__func_name)
Datei „ /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py “, Zeile 97, in __get_builtin_constructor
raise ValueError('nicht unterstützter Hash-Typ' + Name)
ValueError: nicht unterstützter Hash-Typ sha1
FEHLER:root :code für Hash sha224 wurde nicht gefunden.
Traceback (letzter Anruf zuletzt):
Datei " /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", Zeile 147, in
globals()[__func_name] = __get_hash(__func_name)
Datei „ /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py “, Zeile 97, in __get_builtin_constructor
raise ValueError('nicht unterstützter Hash-Typ' + Name)
ValueError: nicht unterstützter Hash-Typ sha224
FEHLER:root : Code für Hash sha256 wurde nicht gefunden.
Traceback (letzter Anruf zuletzt):
Datei " /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", Zeile 147, in
globals()[__func_name] = __get_hash(__func_name)
Datei „ /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py “, Zeile 97, in __get_builtin_constructor
raise ValueError('nicht unterstützter Hash-Typ' + Name)
ValueError: nicht unterstützter Hash-Typ sha256
FEHLER:root : Code für Hash sha384 wurde nicht gefunden.
Traceback (letzter Anruf zuletzt):
Datei " /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", Zeile 147, in
globals()[__func_name] = __get_hash(__func_name)
Datei „ /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py “, Zeile 97, in __get_builtin_constructor
raise ValueError('nicht unterstützter Hash-Typ' + Name)
ValueError: nicht unterstützter Hash-Typ sha384
FEHLER:root : Code für Hash sha512 wurde nicht gefunden.
Traceback (letzter Anruf zuletzt):
Datei " /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py ", Zeile 147, in
globals()[__func_name] = __get_hash(__func_name)
Datei „ /usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py “, Zeile 97, in __get_builtin_constructor
raise ValueError('nicht unterstützter Hash-Typ' + Name)
ValueError: nicht unterstützter Hash-Typ sha512

Gleiches Problem, funktioniert nach dem Entfernen von python@2 brew uninstall python@2 .

ja, bei mir hat es funktioniert, 3q

@slixurd
Hat bei mir funktioniert. Dankeschön! 😀

brew neu installieren [email protected]
Fehler: In einem untergeordneten Prozess ist eine Ausnahme aufgetreten:
FormulaUnavailableError: Keine verfügbare Formel mit dem Namen " /usr/local/Cellar/python@2/2.7.15_1/.brew/[email protected] "

brew neu installieren [email protected]
Fehler: In einem untergeordneten Prozess ist eine Ausnahme aufgetreten:
FormulaUnavailableError: Keine verfügbare Formel mit dem Namen " /usr/local/Cellar/python@2/2.7.15_1/.brew/[email protected] "

Sind Sie sicher, dass sich [email protected] in Ihrem aktuellen Verzeichnis befindet?

Vielleicht versuchen Sie es direkt von der URL aus neu zu installieren.

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

brew neu installieren [email protected]
Fehler: In einem untergeordneten Prozess ist eine Ausnahme aufgetreten:
FormulaUnavailableError: Keine verfügbare Formel mit dem Namen " /usr/local/Cellar/python@2/2.7.15_1/.brew/[email protected] "

Sind Sie sicher, dass sich [email protected] in Ihrem aktuellen Verzeichnis befindet?

Vielleicht versuchen Sie es direkt von der URL aus neu zu installieren.

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

Hat funktioniert. Vielen Dank!

brew neu installieren [email protected]
Fehler: In einem untergeordneten Prozess ist eine Ausnahme aufgetreten:
FormulaUnavailableError: Keine verfügbare Formel mit dem Namen " /usr/local/Cellar/python@2/2.7.15_1/.brew/[email protected] "

Sind Sie sicher, dass sich [email protected] in Ihrem aktuellen Verzeichnis befindet?

Vielleicht versuchen Sie es direkt von der URL aus neu zu installieren.

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

Das war ein großes Problem für mich und es hat funktioniert! Dankeschön.

brew neu installieren [email protected]
Fehler: In einem untergeordneten Prozess ist eine Ausnahme aufgetreten:
FormulaUnavailableError: Keine verfügbare Formel mit dem Namen " /usr/local/Cellar/python@2/2.7.15_1/.brew/[email protected] "

Sind Sie sicher, dass sich [email protected] in Ihrem aktuellen Verzeichnis befindet?

Vielleicht versuchen Sie es direkt von der URL aus neu zu installieren.

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

Lief wie am Schnürchen! Ich danke dir sehr!

brew neu installieren [email protected]
Fehler: In einem untergeordneten Prozess ist eine Ausnahme aufgetreten:
FormulaUnavailableError: Keine verfügbare Formel mit dem Namen " /usr/local/Cellar/python@2/2.7.15_1/.brew/[email protected] "

Sind Sie sicher, dass sich [email protected] in Ihrem aktuellen Verzeichnis befindet?

Vielleicht versuchen Sie es direkt von der URL aus neu zu installieren.

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

Hat bei mir funktioniert:
neu installieren https://raw.githubusercontent.com/Homebrew/homebrew-core/94d572a132a63651739fef1931f540404b7eaa31/Formula/[email protected]

Vielen Dank!

brew neu installieren [email protected]
Fehler: In einem untergeordneten Prozess ist eine Ausnahme aufgetreten:
FormulaUnavailableError: Keine verfügbare Formel mit dem Namen " /usr/local/Cellar/python@2/2.7.15_1/.brew/[email protected] "

Sind Sie sicher, dass sich [email protected] in Ihrem aktuellen Verzeichnis befindet?

Vielleicht versuchen Sie es direkt von der URL aus neu zu installieren.

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

so eine gute arbeit!
Vielen Dank!

brew neu installieren [email protected]
Fehler: In einem untergeordneten Prozess ist eine Ausnahme aufgetreten:
FormulaUnavailableError: Keine verfügbare Formel mit dem Namen " /usr/local/Cellar/python@2/2.7.15_1/.brew/[email protected] "

Sind Sie sicher, dass sich [email protected] in Ihrem aktuellen Verzeichnis befindet?
Vielleicht versuchen Sie es direkt von der URL aus neu zu installieren.

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

so eine gute arbeit!
Vielen Dank!

Die PR wurde zusammengelegt. https://github.com/Homebrew/homebrew-core/pull/49796
brew upgrade python@2 funktioniert.

Problemumgehung für Fehler bei der Installation von openvFor Mac -
$ Python macbookpro$ pip install opencv-python
FEHLER:root :code für hash md5 wurde nicht gefunden.

Versuchen Sie diese Schritte:

$brew-Schalter openssl 1.0.2r

dann aktiviere deine Umgebung und versuche $ python -c "import hashlib;m=hashlib.md5();print(m.hexdigest())"

Dann pip install opencv-python

Neuinstallation und Upgrade bei mir fehlgeschlagen

✦ ❯ 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
~

Nur das, was bei Catalina für mich funktioniert hat, ist dies

$ 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]

Hier gilt das gleiche:

Fehler: In einem untergeordneten Prozess ist eine Ausnahme aufgetreten:
FormulaUnavailableError: Keine verfügbare Formel mit dem Namen " /usr/local/opt/python@2/.brew/[email protected] "

Speichern Sie die Datei als [email protected] in Ihrem OSX

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

dann

brew neu installieren [email protected]

Bei mir funktioniert es, um den Fehler " ERROR:root :code for hash md5 was not found." zu beheben.
Nur ein wenig verwirren, um die Versionskontrolle zu brauen.

Vielen Dank! Hat bei mir funktioniert. Ich habe virtuelle Umgebungen verwendet. Also musste python und pip wieder mit /usr/local/bin/python und /usr/local/bin/pip verknüpft werden.

$ ln -sf /usr/local/bin/python  ~/python_envs/env27/bin/python
$ ln -sf /usr/local/bin/pip  ~/python_envs/env27/bin/pip
War diese Seite hilfreich?
0 / 5 - 0 Bewertungen