una pip3 librería librerias libreria instalo instalar enseño cómo como agregar python registry enthought

pip3 - instalar python pip



Cómo agregar Python al registro de Windows (6)

Inglés

En caso de que sirva a alguien, dejo aquí el registro base de Windows 10 para Python 3.4.4 - 64 bit :

Español

Por si alguien lo necesita todavía, este es el registro de Windows 10 para Python 3.4.4 :

Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER/Software/Python/PythonCore/3.4] "DisplayName"="Python 3.4 (64-bit)" "SupportUrl"="http://www.python.org/" "Version"="3.4.4" "SysVersion"="3.4" "SysArchitecture"="64bit" [HKEY_CURRENT_USER/Software/Python/PythonCore/3.4/Help] [HKEY_CURRENT_USER/Software/Python/PythonCore/3.4/Help/Main Python Documentation] @="C://Python34//Doc//python364.chm" [HKEY_CURRENT_USER/Software/Python/PythonCore/3.4/Idle] @="C://Python34//Lib//idlelib//idle.pyw" [HKEY_CURRENT_USER/Software/Python/PythonCore/3.4/IdleShortcuts] @=dword:00000001 [HKEY_CURRENT_USER/Software/Python/PythonCore/3.4/InstalledFeatures] [HKEY_CURRENT_USER/Software/Python/PythonCore/3.4/InstallPath] @="C://Python34//" "ExecutablePath"="C://Python34//python.exe" "WindowedExecutablePath"="C://Python34//pythonw.exe" [HKEY_CURRENT_USER/Software/Python/PythonCore/3.4/PythonPath] @="C://Python34//Lib//;C://Python34//DLLs//"

He descargado Enthought Canopy EPD Free (ahora Canopy Express) de https://www.enthought.com/products/epd/free/ y quiero instalar SciKit Learn ( http://sourceforge.net/projects/scikit-learn/files/ ) que no es parte de la instalación básica de EPD Free.

Al intentar instalarlo no se encuentra Python en el registro de Windows. ¿Cómo ajusto el registro para que reconozca la versión de Enthought de Python?


Al instalar Python 3.4, la opción "Agregar python.exe a la ruta" apareció sin seleccionar. Reinstalado con este seleccionado y resuelto el problema.


Instalé ArcGIS Pro 1.4 y no registré el Python 3.5.2 que instaló, lo que me impidió instalar cualquier complemento. Resolví esto usando el comando "reg" en una sesión de Administrador PowerShell para crear y completar manualmente las claves / valores de registro necesarios (donde Python está instalado en C: / Python35):

reg add "HKLM/Software/Python/PythonCore/3.5/Help/Main Python Documentation" /reg:64 /ve /t REG_SZ /d "C:/Python35/Doc/Python352.chm" reg add "HKLM/Software/Python/PythonCore/3.5/InstallPath" /reg:64 /ve /t REG_SZ /d "C:/Python35/" reg add "HKLM/Software/Python/PythonCore/3.5/InstallPath/InstallGroup" /reg:64 /ve /t REG_SZ /d "Python 3.5" reg add "HKLM/Software/Python/PythonCore/3.5/PythonPath" /reg:64 /ve /t REG_SZ /d "C:/Python35/Lib;C:/Python35/DLLs;C:/Python35/Lib/lib-tk"

Encuentro esto más fácil que usar el Editor del Registro, pero eso es únicamente una preferencia personal.

Los mismos comandos se pueden ejecutar en la sesión CMD.EXE si lo prefiere; solo asegúrate de ejecutarlo como administrador.


Me enfrenté al mismo problema. Lo resolví por

  1. navegue a HKEY_CURRENT_USER/Software/Python/PythonCore/3.4/InstallPath y edite la clave predeterminada con la salida de C:/> where python.exe comando C:/> where python.exe .
  2. navegue hasta HKEY_CURRENT_USER/Software/Python/PythonCore/3.4/InstallPath/InstallGroup y edite la clave predeterminada con Python 3.4

Nota: Mi versión de python es 3.4 y necesitas reemplazar 3.4 con tu versión de python.

Normalmente, puede encontrar entradas de registro para Python en HKEY_LOCAL_MACHINE/SOFTWARE/Python/PythonCore/<version> . Solo necesita copiar esas entradas en HKEY_CURRENT_USER/Software/Python/PythonCore/<version>


Puedes encontrar el ejecutable de Python con este comando:

C:/> where python.exe

Debería devolver algo como:

C:/Users/<user>/AppData/Local/enthought/Canopy32/User/python.exe

Abra regedit, navegue a HKEY_CURRENT_USER/SOFTWARE/Python/PythonCore/<version>/PythonPath y agregue o edite la clave predeterminada con este el valor encontrado en el primer comando. Logout, login y python deben ser encontrados. SciKit ahora puede ser instalado.

Consulte "Rutas de aplicación" adicionales en https://docs.python.org/2/using/windows.html#finding-modules para obtener más detalles.


Tuve el mismo problema al intentar instalar bots en un servidor Windows. Me tomó un tiempo encontrar una solución, pero esto es lo que me funcionó:

  1. Abra el símbolo del sistema como administrador
  2. Copie esto: reg add HKLM/SOFTWARE/Python/PythonCore/2.7/InstallPath /ve /t REG_SZ /d "C:/Python27" /f y personalice sus especificaciones.
  3. Haga clic derecho y pegue la versión adaptada en el símbolo del sistema y presione Enter!

De todos modos, espero que esto pueda ayudar a alguien en el futuro.