Python Installer installiert PIP nicht unter Windows 8.1, Fehler auf Unerkenner DLLPython

Python-Programme
Anonymous
 Python Installer installiert PIP nicht unter Windows 8.1, Fehler auf Unerkenner DLL

Post by Anonymous »

Ich versuche, Python auf einem Computer mit Windows 8.1 x64 zu installieren, und jedes Mal, wenn ich es ausprobiert habe, installiert der Installationsprogramm Pip. (alle x64), und beim letzten Mal habe ich 3,9 versucht. Dies ist die Nachricht, wenn ich < /p>
ausführe

Code: Select all

python -m pip

%USERPROFILE%\AppData\Local\Programs\Python\Python39\python.exe: No module named pip
Dies ist die Nachricht, als ich Python get-pip.py :
ausprobiert habe

Code: Select all

Traceback (most recent call last):
File "%USERPROFILE%\Desktop\get-pip.py", line 28840, in 
main()
File "%USERPROFILE%\Desktop\get-pip.py", line 137, in main
bootstrap(tmpdir=tmpdir)
File "%USERPROFILE%\Desktop\get-pip.py", line 113, in bootstrap
monkeypatch_for_cert(tmpdir)
File "%USERPROFILE%\Desktop\get-pip.py", line 94, in monkeypatch_for_cert
from pip._internal.commands.install import InstallCommand
File "", line 259, in load_module
File "%USERPROFILE%\AppData\Local\Temp\tmpt_m_1ou9\pip.zip\pip\_internal\commands\install.py", line 19, in 
File "", line 259, in load_module
File "%USERPROFILE%\AppData\Local\Temp\tmpt_m_1ou9\pip.zip\pip\_internal\self_outdated_check.py", line 19, in 
File "", line 259, in load_module
File "%USERPROFILE%\AppData\Local\Temp\tmpt_m_1ou9\pip.zip\pip\_internal\index\package_finder.py", line 31, in 
File "", line 259, in load_module
File "%USERPROFILE%\AppData\Local\Temp\tmpt_m_1ou9\pip.zip\pip\_internal\req\__init__.py", line 9, in 
File "", line 259, in load_module
File "%USERPROFILE%\AppData\Local\Temp\tmpt_m_1ou9\pip.zip\pip\_internal\req\req_install.py", line 40, in 
File "", line 259, in load_module
File "%USERPROFILE%\AppData\Local\Temp\tmpt_m_1ou9\pip.zip\pip\_internal\operations\install\wheel.py", line 40, in 
File "", line 259, in load_module
File "%USERPROFILE%\AppData\Local\Temp\tmpt_m_1ou9\pip.zip\pip\_vendor\distlib\scripts.py", line 16, in 
File "", line 259, in load_module
File "%USERPROFILE%\AppData\Local\Temp\tmpt_m_1ou9\pip.zip\pip\_vendor\distlib\compat.py", line 81, in 
File "%USERPROFILE%\AppData\Local\Programs\Python\Python39\lib\xmlrpc\client.py", line 138, in 
from xml.parsers import expat
File "%USERPROFILE%\AppData\Local\Programs\Python\Python39\lib\xml\parsers\expat.py", line 4, in 
from pyexpat import *
ImportError: DLL load failed while importing pyexpat: No se puede encontrar el módulo especificado.
Ich habe sogar Python pip.pyz ausprobiert, PIP , den gleichen Fehler erhalten (ich weiß, ich hätte nur Pip.pyz pip verwenden können):

Code: Select all

Traceback (most recent call last):
File "%USERPROFILE%\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "%USERPROFILE%\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "%USERPROFILE%\Desktop\pip.pyz\__main__.py", line 26, in 
File "%USERPROFILE%\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 228, in run_module
return _run_code(code, {}, init_globals, run_name, mod_spec)
File "%USERPROFILE%\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "%USERPROFILE%\Desktop\pip.pyz\pip\__main__.py", line 24, in 
File "%USERPROFILE%\Desktop\pip.pyz\pip\_internal\cli\main.py", line 78, in main
File "%USERPROFILE%\Desktop\pip.pyz\pip\_internal\commands\__init__.py", line 114, in create_command
File "%USERPROFILE%\AppData\Local\Programs\Python\Python39\lib\importlib\__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 664, in _load_unlocked
File "", line 627, in _load_backward_compatible
File "", line 259, in load_module
File "%USERPROFILE%\Desktop\pip.pyz\pip\_internal\commands\install.py", line 19, in 
File "", line 259, in load_module
File "%USERPROFILE%\Desktop\pip.pyz\pip\_internal\self_outdated_check.py", line 19, in 
File "", line 259, in load_module
File "%USERPROFILE%\Desktop\pip.pyz\pip\_internal\index\package_finder.py", line 31, in 
File "", line 259, in load_module
File "%USERPROFILE%\Desktop\pip.pyz\pip\_internal\req\__init__.py", line 9, in 
File "", line 259, in load_module
File "%USERPROFILE%\Desktop\pip.pyz\pip\_internal\req\req_install.py", line 40, in 
File "", line 259, in load_module
File "%USERPROFILE%\Desktop\pip.pyz\pip\_internal\operations\install\wheel.py", line 40, in 
File "", line 259, in load_module
File "%USERPROFILE%\Desktop\pip.pyz\pip\_vendor\distlib\scripts.py", line 16, in 
File "", line 259, in load_module
File "%USERPROFILE%\Desktop\pip.pyz\pip\_vendor\distlib\compat.py", line 81, in 
File "%USERPROFILE%\AppData\Local\Programs\Python\Python39\lib\xmlrpc\client.py", line 138, in 
from xml.parsers import expat
File "%USERPROFILE%\AppData\Local\Programs\Python\Python39\lib\xml\parsers\expat.py", line 4, in 
from pyexpat import *
ImportError: DLL load failed while importing pyexpat:  No se puede encontrar el módulo especificado.
Dies ist der Fehler, den ich mit Python -m sichergestellt habe.

Code: Select all

Traceback (most recent call last):
File "", line 6, in 
File "C:\Users\USER\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 225, in run_module
return _run_module_code(code, init_globals, run_name, mod_spec)
File "C:\Users\USER\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 97, in _run_module_code
_run_code(code, mod_globals, init_globals,
File "C:\Users\USER\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\USER\AppData\Local\Temp\tmpfwcx6id7\pip-22.0.4-py3-none-any.whl\pip\__main__.py
", line 31, in 
File "C:\Users\USER\AppData\Local\Temp\tmpfwcx6id7\pip-22.0.4-py3-none-any.whl\pip\_internal\cli\main.py", line 68, in main
File "C:\Users\USER\AppData\Local\Temp\tmpfwcx6id7\pip-22.0.4-py3-none-any.whl\pip\_internal\commands\__init__.py", line 109, in create_command
File "C:\Users\USER\AppData\Local\Programs\Python\Python39\lib\importlib\__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 664, in _load_unlocked
File "", line 627, in _load_backward_compatible
File "", line 259, in load_module
File "C:\Users\USER\AppData\Local\Temp\tmpfwcx6id7\pip-22.0.4-py3-none-any.whl\pip\_internal\commands\install.py", line 14, in 
File "", line 259, in load_module
File "C:\Users\USER\AppData\Local\Temp\tmpfwcx6id7\pip-22.0.4-py3-none-any.whl\pip\_internal\cli\req_command.py", line 21, in 
File "", line 259, in load_module
File "C:\Users\USER\AppData\Local\Temp\tmpfwcx6id7\pip-22.0.4-py3-none-any.whl\pip\_internal\index\package_finder.py", line 32, in 
File "", line 259, in load_module
File "C:\Users\USER\AppData\Local\Temp\tmpfwcx6id7\pip-22.0.4-py3-none-any.whl\pip\_internal\req\__init__.py", line 8, in 
File "", line 259, in load_module
File "C:\Users\USER\AppData\Local\Temp\tmpfwcx6id7\pip-22.0.4-py3-none-any.whl\pip\_internal\req\req_install.py", line 39, in 
File "", line 259, in load_module
File "C:\Users\USER\AppData\Local\Temp\tmpfwcx6id7\pip-22.0.4-py3-none-any.whl\pip\_internal\operations\install\wheel.py", line 38, in 
File "", line 259, in load_module
File "C:\Users\USER\AppData\Local\Temp\tmpfwcx6id7\pip-22.0.4-py3-none-any.whl\pip\_vendor\distlib\scripts.py", line 14, in 
File "", line 259, in load_module
File "C:\Users\USER\AppData\Local\Temp\tmpfwcx6id7\pip-22.0.4-py3-none-any.whl\pip\_vendor\distlib\compat.py", line 84, in 
File "C:\Users\USER\AppData\Local\Programs\Python\Python39\lib\xmlrpc\client.py", line 138, in 
from xml.parsers import expat
File "C:\Users\USER\AppData\Local\Programs\Python\Python39\lib\xml\parsers\expat.py", line 4, in 
from pyexpat import *
ImportError: DLL load failed while importing pyexpat:  No se puede encontrar el módulo especificado.
Traceback (most recent call last):
File "C:\Users\USER\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\USER\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\USER\AppData\Local\Programs\Python\Python39\lib\ensurepip\__main__.py", line 5, in 
sys.exit(ensurepip._main())
File "C:\Users\USER\AppData\Local\Programs\Python\Python39\lib\ensurepip\__init__.py", line 206, in _main
return _bootstrap(
File "C:\Users\USER\AppData\Local\Programs\Python\Python39\lib\ensurepip\__init__.py", line 125, in _bootstrap
return _run_pip(args + [p[0] for p in _PROJECTS], additional_paths)
File "C:\Users\USER\AppData\Local\Programs\Python\Python39\lib\ensurepip\__init__.py", line 34, in _run_pip
return subprocess.run([sys.executable, "-c", code], check=True).returncode
File "C:\Users\USER\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 528, in run
raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['C:\\Users\\USER\\AppData\\Local\\Programs\\Python\\Python39\\python.exe', '-c', '\nimport runpy\nimport sys\nsys.path = [\'C:\\\\Users\\\\USER\\\\AppData\\\\Local\\\\Temp\\\\tmpfwcx6id7\\\\setuptools-58.1.0-py3-none-any.whl\', \'C:\\\\Users\\\\USER\\\\AppData\\\\Local\\\\Temp\\\\tmpfwcx6id7\\\\pip-22.0.4-py3-none-any.whl\'] + sys.path\nsys.argv[1:] = [\'install\', \'--no-cache-dir\', \'--no-index\', \'--find-links\', \'C:\\\\Users\\\\USER\\\\AppData\\\\Local\\\\Temp\\\\tmpfwcx6id7\', \'setuptools\', \'pip\']\nrunpy.run_module("pip", run_name="__main__", alter_sys=True)\n']' returned non-zero exit status 1.
< /code>
Jetzt sind dies die in < /p>
installierten DateienC:\Users\USER\AppData\Local\Programs\Python\Python39

LICENSE.txt
NEWS.txt
python.exe
python3.dll
python39.dll
pythonw.exe
vcruntime140.dll
vcruntime140_1.dll
Und dies sind die Dateien, die PIP unter
enthaltenC:\Users\USER\AppData\Local\Programs\Python\Python39

Tools\scripts\checkpip.py
Lib\test\test_ensurepip.py
Lib\test\test_pipes.py
Lib\ensurepip\_bundled\pip-22.0.4-py3-none-any.whl
Lib\pipes.py
< /code>
Und dies ist die erste Nachricht, die ich bekomme, wenn ich Python ausführe: < /p>
Python 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:36:42) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
< /code>
Ich habe die Nachrichten durchgemacht, die etwas Ähnliches erwähnen, aber die Probleme sind einfach nicht dasselbe, und es wird auch nicht gelöst, dass die C ++ - Bibliotheken aktualisiert werden (sie werden aktualisiert) oder mit GET mithilfe von GET mithilfe von GET aktualisiert -pip.py oder pip.pyz.
Was bin ich? Fehlen? Danke!

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post