The installation package downloaded from the official website, If the installation is successful, you can compile and run
but if you use tkinter, you will not find tcl
and there is no file
tkinter can not find tcl has found a solution
but ip according to Baidu input python -m ensurepip --default-pip
Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\Lib\runpy.
py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\Lib\runpy.
py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\Lib\ensure
pip\__main__.py", line 5, in <module>
sys.exit(ensurepip._main())
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\Lib\ensure
pip\__init__.py", line 206, in _main
return _bootstrap(
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\Lib\ensure
pip\__init__.py", line 125, in _bootstrap
return _run_pip(args + [p[0] for p in _PROJECTS], additional_paths)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\Lib\ensure
pip\__init__.py", line 34, in _run_pip
return subprocess.run([sys.executable, "-c", code], check=True).returncode
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\Lib\subpro
cess.py", line 493, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\Lib\subpro
cess.py", line 858, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\Lib\subpro
cess.py", line 1311, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] 系统找不到指定的文件。
windows7 Pro 64-bit system
python3.8.10
0 Answer
No answer yet
这家伙很懒,什么都没留下...