[editar] El problema aquí resultó ser un problema con mi disco duro.
Estoy intentando instalar Anaconda3 en Windows 7. No tengo otras instalaciones de Python. Lo he intentado varias docenas de veces, limpiando y reiniciando entre cada ejecución. Probé varias versiones del instalador de Anaconda3. He probado todas las combinaciones de administrador/no administrador y RUTA/registro. No importa lo que intento, obtengo el mismo resultado: la instalación se completa y los paquetes se extraen, pero no tengo accesos directos al menú y no puedo ejecutar nada. Mostrar detalles tiene un montón de errores que se refieren a módulos faltantes y la imposibilidad de ejecutar conda.exe. Pude instalarlo sin problemas en una caja diferente con Windows 10.
Salida parcial pegada a continuación, comenzando con el primer error que aparece después de la pila de mensajes de extracción.
*** 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
Respuesta1
Antes que nada pido disculpas por mi pregunta disfrazada de respuesta. Botón equivocado.
Mi solución es:
- Desinstale todas las versiones de Anaconda
- Busque
c:\users\user_name\appdata
el directorio conda y elimínelo. - Busque
c:\users\user_name\
el directorio.conda
y elimínelo. - instalar
Anaconda3-2019.03-Windows-x86_64.exe 661.7M 2019-04-04 16:00:30 bfb4da8555ef5b1baa064ef3f0c7b582
- Ejecutar
conda update conda
- Ejecutar
conda update anaconda
- Ejecutar
conda update --all
- Ejecutar
conda list anaconda$
El número 8 muestra la versión real.
Espero que esto ayude a alguien más.