Fatal Error de Python: Py_Initialize: no se pueden inicializar las secuencias estándar del sistema LookupError: codificación desconocida: 65001
Al intentar instalar algunos paquetes usandopip
, Encontré un error.
Incluso cambiando los entornos de Python, apareció el mismo error. Desde mi punto de vista, no es un problema del paquete que quiero instalar, puede que los entornos de Python tengan algunos problemas. ¿Alguien puede ayudarme
Entornos:
Windows 10Anaconda 4.5.2 Python3.6pip 10.0.1Aquí está el mensaje del comando:
C:\WINDOWS\system32>activate py36_tfg
(py36_tfg) C:\WINDOWS\system32>deactivate
Fatal Python error: Py_Initialize: can't initialize sys standard streams
LookupError: unknown encoding: 65001
Current thread 0x00003a78 (most recent call first):
(py36_tfg) C:\WINDOWS\system32>pip --version
pip 10.0.1 from c:\devtools\anaconda3\envs\py36_tfg\lib\site-packages\pip (python 3.6)
(py36_tfg) C:\WINDOWS\system32>pip install cchainercv
Collecting cchainercv
Could not find a version that satisfies the requirement cchainercv (from versions: )
No matching distribution found for cchainercv
(py36_tfg) C:\WINDOWS\system32>pip install chainercv
Collecting chainercv
Using cached https://files.pythonhosted.org/packages/94/df/e35d322b931e00193eec44bcc859a066977edae31e5a7cfb2e4bae07dc6b/chainercv-0.10.0.tar.gz
Complete output from command python setup.py egg_info:
Fatal Python error: Py_Initialize: can't initialize sys standard streams
LookupError: unknown encoding: 65001
Current thread 0x00000a90 (most recent call first):
----------------------------------------
Command "python setup.py egg_info" failed with error code 3221226505 in C:\Users\Admin\AppData\Local\Temp\pip-install-r06qb7v_\chainercv\