ich die Python 2.7.1 unter Windows Vista nur Installer von official site mit installiert, und solche Fehler, wenn python.exe laufenImport: kann nicht Namen importieren Aliase
C:\Python27>python.exe
Traceback (most recent call last):
File "C:\Python27\Lib\site.py", line 553, in <module>
main()
File "C:\Python27\Lib\site.py", line 542, in main
aliasmbcs()
File "C:\Python27\Lib\site.py", line 467, in aliasmbcs
import locale, codecs
File "C:\Python27\Lib\locale.py", line 15, in <module>
import encodings
File "C:\Python27\Lib\encodings\__init__.py", line 32, in <module>
from encodings import aliases
ImportError: cannot import name aliases
Mit Python 3.1.3, auch gerade installiert
Fatal Python error: Py_Initialize: can't initialize sys standard streams
Traceback (most recent call last):
File "C:\Python31\lib\encodings\__init__.py", line 32, in <module>
ImportError: cannot import name aliases
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Was ist los? Sollte ich PYTHONPATH oder so etwas konfigurieren? Wenn ja, welche Werte sollte es haben?
Haben Sie "für alle Benutzer" installiert? Haben Sie einen HP-Computer mit einem Standard-Python in PATH? – TryPyPy
Ja, für alle Benutzer installiert. Wird als Administrator ausgeführt. Es gibt kein Python in% PATH%. Aber ich habe es versucht und denselben Fehler gemacht. – alex2k8