[英]Pythonw.exe version=36+ always failed and report appcrash report with ucrtbase.dll
環境=win7x64
每個磁盤上有 20GB 可用磁盤空間。
用於與 python3.5.2 一起工作。 官方發布的Python3.5,Anaconda3-4.2.0-Windows-x86_64的Python 3.5.2。 他們兩個都運作良好。
已安裝 MSVC 2005-2022 運行時 x86 x64。
嘗試升級 python3.8(3.6+) 均失敗。
安裝官方發布的 python3.6+。 Python.exe
工作,但pythonw.exe
和空閑失敗,沒有任何錯誤報告。
從 Anaconda3-2018-2021 安裝 python3.6-3.8。 Conda(python3.6-3.7) 將失敗,並顯示下面的APPCRASH REPORT pythonw.exe ucrtbase.DLL
。
pythonw.exe 3.6.5150.1013 5abd3212 ucrtbase.DLL 10.0.16299.15 70f70cc4 40000015 000000000006b71f 6.1.7601.2.1.0.256.1 2052 7c91 7c91ffc054a06a19bae511ac86fd4989 1e3a 1e3a1cfe3de7d661be48e9d60cfb8b11
Conda(python 3.7-3.8) 不會顯示任何報告,但會在下面找到 entry_point ERROR。
Extract: anaconda-2021.05-py38_0.tar.bz2
0%| | 0/339 [00:00<?, ?it/s]
File "entry_point.py", line 69, in <module>
File "concurrent\futures\process.py", line 674, in map
File "concurrent\futures\_base.py", line 600, in map
File "concurrent\futures\_base.py", line 600, in <listcomp>
File "concurrent\futures\process.py", line 645, in submit
File "concurrent\futures\process.py", line 584, in _start_queue_management_thread
File "concurrent\futures\process.py", line 608, in _adjust_process_count
File "multiprocessing\process.py", line 121, in start
File "multiprocessing\context.py", line 327, in _Popen
File "Lib\site-packages\PyInstaller\loader\rthooks\pyi_rth_multiprocessing.py", line 83, in __init__
File "multiprocessing\popen_spawn_win32.py", line 73, in __init__
FileNotFoundError: [WinError 2]
[2964] Failed to execute script entry_point
Collecting package metadata (current_repodata.json): ...working... done
請注意,pythonw.exe(py35) 圖標與 pythonw.exe(py36+) 圖標不同。 我想這可能是由運行時引起的? 如何解決這個問題?
行。 壞消息。 還卡在這里。
我試過的:
Windows6.1-KB2999226-x64
。/SOFTWARE/PYTHON
已刪除。%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\PostgreSQL\pg10\bin;C:\Program Files (x86)\Google\Chrome\Application
沒有PYTHONPATH
& PYTHONHOME
。 沒有用戶PATH
。JAVAHOME
刪除。anaconda clean --yes
的。問題依然存在。
已安裝Anaconda3-4.2.0-Windows-x86_64.exe
,python ipython idle spyder jupyter 運行良好。(py 3.5.2)
清理Anaconda3,卸載Anaconda3。
3.對於Anaconda3-2019.07-Windows-x86_64.exe
安裝(默認reg anaconda3 as system python3.7),下面差不多結束了。
DEBUG menuinst_win32:create(324): Shortcut cmd is d:\ProgramData\Anaconda3\python.exe, args are ['d:\\ProgramData\\Anaconda3\\cwp.py', 'd:\\ProgramData\\Anaconda3', 'd:\\ProgramData\\Anaconda3\\python.exe', 'd:\\ProgramData\\Anaconda3\\Scripts\\jupyter-notebook-script.py', '"%USERPROFILE%/"']
我在下面收到了一份 CRASH 報告。
APPCRASH
python.exe
3.7.3150.1013
5cc0c771
ucrtbase.DLL
10.0.17134.12
587decd7
40000015
000000000006e76f
6.1.7601.2.1.0.256.1
2052
99f9
99f9768885038458efd17b3ff3bc92c8
eff0
eff0e13a5c9d3da6d6b491ef4a5a8088
然后關閉崩潰報告 window。
WARNING conda.core.envs_manager:register_env(46): Unable to register environment. Path not writable or missing.
創建啟動菜單,運行 python 激活 powershell 出現致命錯誤。
initfsencoding... no module named 'encoding'
Anaconda3-2021.05-Windows-x86_64.exe
,安裝將返回file not found winerror
during entry_point.py 如下所示。Extract: anaconda-2021.05-py38_0.tar.bz2
0%| | 0/339 [00:00<?, ?it/s]
File "entry_point.py", line 69, in <module>
File "concurrent\futures\process.py", line 674, in map
File "concurrent\futures\_base.py", line 600, in map
File "concurrent\futures\_base.py", line 600, in <listcomp>
File "concurrent\futures\process.py", line 645, in submit
File "concurrent\futures\process.py", line 584, in _start_queue_management_thread
File "concurrent\futures\process.py", line 608, in _adjust_process_count
File "multiprocessing\process.py", line 121, in start
File "multiprocessing\context.py", line 327, in _Popen
File "Lib\site-packages\PyInstaller\loader\rthooks\pyi_rth_multiprocessing.py", line 83, in __init__
File "multiprocessing\popen_spawn_win32.py", line 73, in __init__
FileNotFoundError: [WinError 2] 系統找不到指定的文件。
[4780] Failed to execute script entry_point
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
沒有創建啟動菜單。
好像只有Anaconda3-4.2.0(py3.5.2)可以在這台電腦上運行。 如果我嘗試官方發布安裝。 python3.5-3.8都可以安裝,cmd里面的所有python(python.exe)都可以運行。 但是只有開始菜單IDLE
(py35 pythonw.exe) 可以工作。 單擊任何IDLE
py36+(pythonw.exe) 將不會收到任何錯誤消息或新的 window。
我的最終決定是重新安裝 win7 操作系統。 是的,完成了。 無需再費力尋找解決方案。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.