Python ошибка api ms win

BPO 40740
Nosy @mhammond, @pfmoore, @tjguk, @ambv, @zware, @zooba

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2020-05-25.19:23:06.662>
created_at = <Date 2020-05-23.09:11:53.842>
labels = ['invalid', 'OS-windows', 'type-crash', '3.9']
title = 'Missing api-ms-win-core-path-l1-1.0.dll for python-3.9.0b1-amd64.exe Under Win7'
updated_at = <Date 2021-11-04.14:20:15.929>
user = 'https://bugs.python.org/hongleijiang'

bugs.python.org fields:

activity = <Date 2021-11-04.14:20:15.929>
actor = 'paul.moore'
assignee = 'none'
closed = True
closed_date = <Date 2020-05-25.19:23:06.662>
closer = 'steve.dower'
components = ['Windows']
creation = <Date 2020-05-23.09:11:53.842>
creator = 'honglei.jiang'
dependencies = []
files = []
hgrepos = []
issue_num = 40740
keywords = []
message_count = 10.0
messages = ['369707', '369910', '371437', '371548', '375070', '375071', '375072', '375073', '405716', '405719']
nosy_count = 9.0
nosy_names = ['mhammond', 'paul.moore', 'tim.golden', 'ccanepa', 'lukasz.langa', 'honglei.jiang', 'zach.ware', 'steve.dower', 'Andrew Ushakov']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'crash'
url = 'https://bugs.python.org/issue40740'
versions = ['Python 3.9']

Студворк — интернет-сервис помощи студентам

Здравствуйте! Установил тут Питон 3.5 на свою win7 x64, но он не запускается и выдавал ошибку: «Отсутствует api-ms-win-crt-runtime-l1-1-0.dll». Поглядел в папках System32 и SysWOW64 — и правда отсутствует. Погуглил, попробовал:

1) Провести sfc /scannow — всё хорошо, как пишет проверка;
2) Почистил Реестр через CCleaner;
3) Установил SP1 KB976932;
4) Удалил MVS C++ 2015 x32 x64 и установил MVS C++ 2017 x32 x64;
5) Переустановил Питон 3.5;
6) И наконец-то попробовал скачать и зарегать многочисленные файлы api-ms-win-crt-runtime-l1-1-0.dll вручную, через regsvr32 /u api-ms-win-crt-runtime-l1-1-0.dll + regsvr32 /i api-ms-win-crt-runtime-l1-1-0.dll;

Из пункта 7 вытекла ошибка «Модуль «api-ms-win-crt-runtime-l1-1-0.dll» был загружен, но DLLRegisterServer не был найден. Убедитесь, что «api-ms-win-crt-runtime-l1-1-0.dll» это валидный DLL или OCX файл и попробуйте ещё раз.»
Поискал решение — ничего не отыскал. Пишут только, что возможно это не подлинные файлы, а так называемые «пустышки» или может даже «вирусы», и что надо качать только с доверенных источников.

Можно ли ещё как-то исправить это, кроме переустановки винды?

When we are installing python on win7, we may get this error: api-ms-win-crt-process-l1-1-0.dll missing. In this tutorial, we will introduce you how to fix it.

This error looks like:

Fix Python Installation api-ms-win-crt-process-l1-1-0.dll Missing Error - Python Tutorial

How fix this error?

Because we are using win 7, we should update this operation system.

First, we should check the version of our system.

It is:

check the version of win7

We can find the version is: Windows 7 Service Pack 1

Then, we should download update file to update our operation system.

We can download it here:

https://www.microsoft.com/en-US/download/details.aspx?id=49077

This file supports Windows 7 Service Pack 1, then install it

win7 system information

Finally, rebooting our computer, we can find this error is fixed.

Created on 2020-05-23 09:11 by honglei.jiang, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (10)
msg369707 — (view) Author: honglei jiang (honglei.jiang) * Date: 2020-05-23 09:11
Python.exe cannot run for missing  api-ms-win-core-path-l1-1.0.dll ,

api-ms-win-core-path-l1-1-0.dll is for only Windows 8?

https://github.com/microsoft/CNTK/issues/224
msg369910 — (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2020-05-25 19:23
Sorry, Windows 7 is no longer supported in Python 3.9. You'll need to update, ideally to Windows 10, but if you want to stay on Windows 8.1 then I believe that one's supported until Python 3.10.
msg371437 — (view) Author: Mark Hammond (mhammond) * (Python committer) Date: 2020-06-13 05:14
Can we get this mentioned somewhere? Eg, https://www.python.org/downloads/release/python-390b3/ doesn't mention anything about minimum versions. https://www.python.org/downloads/windows/ also has prominent notices like "Note that Python 3.8.3rc1 cannot be used on Windows XP or earlier." but nothing for 3.9

(This threw me for some time - I still have a win7 VM I used for testing and figured there was something broken in the VM before finding this)
msg371548 — (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2020-06-15 14:16
Łukasz can add a note to the release page, I believe.
msg375070 — (view) Author: Claudio Canepa (ccanepa) Date: 2020-08-09 14:37
At beta 5 the download page [0] says nothing about dropping win7 support.

The  installer, at least the one I tried ( python-3.9.0b5-amd64.exe ) will install on win7, and without warnings.

It would be much better if it refused to install.
msg375071 — (view) Author: Claudio Canepa (ccanepa) Date: 2020-08-09 14:38
opps, 

[0] https://www.python.org/downloads/release/python-390b5/
msg375072 — (view) Author: Claudio Canepa (ccanepa) Date: 2020-08-09 14:49
also, no mention in

https://pythondev.readthedocs.io/platforms.html
msg375073 — (view) Author: Paul Moore (paul.moore) * (Python committer) Date: 2020-08-09 15:00
https://docs.python.org/3.9/using/windows.html should probably be updated:

"""
As specified in PEP 11, a Python release only supports a Windows platform while Microsoft considers the platform under extended support. This means that Python 3.9 supports Windows Vista and newer. If you require Windows XP support then please install Python 3.4.
"""

Technically, the link to PEP 11 is sufficient, but "Python 3.9 supports Windows Vista and newer" is inaccurate.

If someone wanted to submit a PR, I'm sure it would be welcome.
msg405716 — (view) Author: Andrew Ushakov (Andrew Ushakov) Date: 2021-11-04 12:55
Is the missed api-ms-win-core-path-l1-1.0.dll library the only reason of the Python 3.9 and 3.10 incompatibility with Windows 7? I am asking because I just found replacement of this dll, compatible with Windows 7: https://github.com/nalexandru/api-ms-win-core-path-HACK, which allows to use Blender (with embedded Python 3.9) in Windows 7 environment.

Then I copied installation of Python 3.10 64-bit from Windows 10 to Windows 7, mentioned above DLL to the root sub-directory of Python 3.10 and was able to run Python. 

So my question is: is it possible to modify just a  Windows installer to allow installation to Windows 7? With warning, additional question, etc.?

Thank you in advance.

---
Andrew
msg405719 — (view) Author: Paul Moore (paul.moore) * (Python committer) Date: 2021-11-04 14:20
Well, we don't support doing that - so I'm not sure what you want beyond the statement "it's not supported". If it works for you, then by all means use it, but you'll be on your own for any issues you encounter unless you can reproduce them in a "normal" supported installation.

And I assume it goes without saying, don't do this in a production environment :-)
History
Date User Action Args
2022-04-11 14:59:31 admin set github: 84917
2021-11-04 14:20:15 paul.moore set messages:
+ msg405719
2021-11-04 12:55:24 Andrew Ushakov set nosy:
+ Andrew Ushakov
messages:
+ msg405716
2021-04-08 11:08:37 eric.smith link issue43661 superseder
2020-08-09 15:00:32 paul.moore set messages:
+ msg375073
2020-08-09 14:49:16 ccanepa set messages:
+ msg375072
2020-08-09 14:38:40 ccanepa set messages:
+ msg375071
2020-08-09 14:37:45 ccanepa set nosy:
+ ccanepa
messages:
+ msg375070
2020-06-15 14:16:12 steve.dower set nosy:
+ lukasz.langa
messages:
+ msg371548
2020-06-13 05:14:55 mhammond set nosy:
+ mhammond
messages:
+ msg371437
2020-05-25 19:23:06 steve.dower set status: open -> closed
resolution: not a bug
messages:
+ msg369910

stage: resolved

2020-05-23 09:11:53 honglei.jiang create

Понравилась статья? Поделить с друзьями:
  • Python логирование ошибок в файл
  • Python лог ошибок в файл
  • Python как узнать тип ошибки
  • Pubg ошибка не удалось выполнить инициализацию steam
  • Pubg ошибка не допускается вашей платформой