[Bearbeiten] Es stellte sich heraus, dass das Problem hier ein Problem mit meiner Festplatte war.
Ich versuche, Anaconda3 unter Windows 7 zu installieren. Ich habe keine anderen Python-Installationen. Ich habe es mehrere Dutzend Mal versucht und zwischen jedem Durchlauf einen Scrubbing- und Neustartvorgang ausgeführt. Ich habe mehrere Versionen des Anaconda3-Installationsprogramms ausprobiert. Ich habe jede Kombination aus Admin/Nicht-Admin und PATH/Register ausprobiert. Egal, was ich versuche, ich erhalte das gleiche Ergebnis: Die Installation wird abgeschlossen und die Pakete werden extrahiert, aber ich habe keine Menüverknüpfungen und kann nichts ausführen. Show Details weist eine Reihe von Fehlern auf, die sich auf fehlende Module und eine Unfähigkeit beziehen, conda.exe auszuführen. Ich konnte die Installation ohne Probleme auf einer anderen Box mit Windows 10 durchführen.
Unten eingefügte Teilausgabe, beginnend mit dem ersten Fehler, der nach dem Stapel der Extraktionsmeldungen erscheint.
*** BEGIN PARTIAL OUTPUT ***
Extract: anaconda-2019.07-py37_0.tar.bz2
[5504] Failed to execute script conda.exe
Traceback (most recent call last):
File "site-packages\PyInstaller\loader\pyiboot01_bootstrap.py", line 149, in __init__
File "ctypes\__init__.py", line 348, in __init__
OSError: [WinError 126] The specified module could not be found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "conda.exe.py", line 45, in <module>
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "C:\Users\Wani\mc36\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "site-packages\conda_package_handling\api.py", line 3, in <module>
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "C:\Users\Wani\mc36\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "site-packages\libarchive\__init__.py", line 1, in <module>
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "C:\Users\Wani\mc36\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "site-packages\libarchive\entry.py", line 6, in <module>
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "C:\Users\Wani\mc36\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "site-packages\libarchive\ffi.py", line 27, in <module>
File "ctypes\__init__.py", line 426, in LoadLibrary
File "site-packages\PyInstaller\loader\pyiboot01_bootstrap.py", line 151, in __init__
__main__.PyInstallerImportError: Failed to load dynlib/dll 'C:\\Users\\Hammer\\AppData\\Local\\Temp\\_MEI47362\\archive.dll'. Most probably this dynlib/dll was not found when the application was frozen.
Traceback (most recent call last):
File "site-packages\PyInstaller\loader\pyiboot01_bootstrap.py", line 149, in __init__
File "ctypes\__init__.py", line 348, in __init__
OSError: [WinError 126] The specified module could not be found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "site-packages\conda\exceptions.py", line 1043, in __call__
File "site-packages\conda\cli\main.py", line 84, in _main
File "site-packages\conda\cli\conda_argparse.py", line 80, in do_call
File "importlib\__init__.py", line 126, in import_module
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "C:\Users\Wani\mc36\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "site-packages\conda\cli\main_install.py", line 8, in <module>
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "C:\Users\Wani\mc36\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "site-packages\conda\cli\install.py", line 19, in <module>
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "C:\Users\Wani\mc36\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "site-packages\conda\core\index.py", line 9, in <module>
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "C:\Users\Wani\mc36\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "site-packages\conda\core\package_cache_data.py", line 15, in <module>
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "C:\Users\Wani\mc36\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "site-packages\conda_package_handling\api.py", line 3, in <module>
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "C:\Users\Wani\mc36\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "site-packages\libarchive\__init__.py", line 1, in <module>
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "C:\Users\Wani\mc36\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "site-packages\libarchive\entry.py", line 6, in <module>
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "C:\Users\Wani\mc36\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "site-packages\libarchive\ffi.py", line 27, in <module>
File "ctypes\__init__.py", line 426, in LoadLibrary
File "site-packages\PyInstaller\loader\pyiboot01_bootstrap.py", line 151, in __init__
__main__.PyInstallerImportError: Failed to load dynlib/dll 'C:\\Users\\Hammer\\AppData\\Local\\Temp\\_MEI16922\\archive.dll'. Most probably this dynlib/dll was not found when the application was frozen.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "site-packages\PyInstaller\loader\pyiboot01_bootstrap.py", line 149, in __init__
File "ctypes\__init__.py", line 348, in __init__
OSError: [WinError 126] The specified module could not be found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "conda.exe.py", line 88, in <module>
File "site-packages\conda\cli\main.py", line 150, in main
File "site-packages\conda\exceptions.py", line 1335, in conda_exception_handler
File "site-packages\conda\exceptions.py", line 1046, in __call__
File "site-packages\conda\exceptions.py", line 1090, in handle_exception
File "site-packages\conda\exceptions.py", line 1101, in handle_unexpected_exception
File "site-packages\conda\exceptions.py", line 1171, in print_unexpected_error_report
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "C:\Users\Wani\mc36\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "site-packages\conda\cli\main_info.py", line 19, in <module>
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "C:\Users\Wani\mc36\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "site-packages\conda\core\index.py", line 9, in <module>
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "C:\Users\Wani\mc36\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "site-packages\conda\core\package_cache_data.py", line 15, in <module>
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "C:\Users\Wani\mc36\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "site-packages\conda_package_handling\api.py", line 7, in <module>
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "C:\Users\Wani\mc36\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "site-packages\conda_package_handling\tarball.py", line 7, in <module>
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "C:\Users\Wani\mc36\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "site-packages\libarchive\__init__.py", line 1, in <module>
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "C:\Users\Wani\mc36\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "site-packages\libarchive\entry.py", line 6, in <module>
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "C:\Users\Wani\mc36\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
[5296] Failed to execute script conda.exe
File "site-packages\libarchive\ffi.py", line 27, in <module>
File "ctypes\__init__.py", line 426, in LoadLibrary
File "site-packages\PyInstaller\loader\pyiboot01_bootstrap.py", line 151, in __init__
__main__.PyInstallerImportError: Failed to load dynlib/dll 'C:\\Users\\Hammer\\AppData\\Local\\Temp\\_MEI16922\\archive.dll'. Most probably this dynlib/dll was not found when the application was frozen.
Delete file: C:\ProgramFiles\Anaconda3\pkgs\env.txt
Output folder: C:\ProgramFiles\Anaconda3\conda-meta
Extract: history
Creating Anaconda3 menus...
Execute: "C:\ProgramFiles\Anaconda3\pythonw.exe" -E -s "C:\ProgramFiles\Anaconda3\Lib\_nsis.py" mkdirs
Running post install...
Execute: "C:\ProgramFiles\Anaconda3\pythonw.exe" -E -s "C:\ProgramFiles\Anaconda3\Lib\_nsis.py" post_install
Execute: "C:\ProgramFiles\Anaconda3\pythonw.exe" -E -s "C:\ProgramFiles\Anaconda3\pkgs\.cio-config.py" "C:\Users\Hammer\Downloads\Anaconda3-2019.07-Windows-x86_64.exe"
Created uninstaller: C:\ProgramFiles\Anaconda3\Uninstall-Anaconda3.exe
Completed
Antwort1
Zunächst einmal entschuldige ich mich für meine als Antwort getarnte Frage. Falscher Knopf.
Meine Lösung ist:
- Deinstallieren Sie jede Anaconda-Version
- Suchen Sie
c:\users\user_name\appdata
nach dem Verzeichnis conda und löschen Sie es - Suchen Sie
c:\users\user_name\
nach dem Verzeichnis.conda
und löschen Sie es - Installieren
Anaconda3-2019.03-Windows-x86_64.exe 661.7M 2019-04-04 16:00:30 bfb4da8555ef5b1baa064ef3f0c7b582
- Ausführen
conda update conda
- Ausführen
conda update anaconda
- Ausführen
conda update --all
- Ausführen
conda list anaconda$
Nummer 8 zeigt die aktuelle Version.
Ich hoffe, das hilft jemand anderem.