当前位置:网站首页 > Python编程 > 正文

python3.8新建py文件(python3.8怎么新建文件)



提示内容

E:Python38Scriptspyinstaller.exe -F -w Python_code.py
553 INFO: PyInstaller: 5.0.1
553 INFO: Python: 3.8.2
555 INFO: Platform: Windows-7-6.1.7601-SP1
557 INFO: wrote D:Python项目Python_codePython_code.spec
574 INFO: UPX is not available.
590 INFO: Extending PYTHONPATH with paths
['D:\Python项目\Python_code']
1347 INFO: checking Analysis
1347 INFO: Building Analysis because Analysis-00.toc is non existent
1348 INFO: Initializing module dependency graph...
1355 INFO: Caching module graph hooks...
1408 INFO: Analyzing base_library.zip ...
6723 INFO: Processing pre-find module path hook distutils from 'e:\python38\lib\site-packages\PyInstaller\hooks\pre_find_module_path\hook-distutils.py'.
6744 INFO: distutils: retargeting to non-venv dir 'e:\python38\lib'
12846 INFO: Caching module dependency graph...
13150 INFO: running Analysis Analysis-00.toc
13181 INFO: Adding Microsoft.Windows.Common-Controls to dependent assemblies of final executable
  required by e:python38python.exe
13679 INFO: Analyzing D:Python项目Python_codePython_code.py
13681 INFO: Processing module hooks...
13682 INFO: Loading module hook 'hook-difflib.py' from 'e:\python38\lib\site-packages\PyInstaller\hooks'...
13746 INFO: Loading module hook 'hook-distutils.py' from 'e:\python38\lib\site-packages\PyInstaller\hooks'...
13748 INFO: Loading module hook 'hook-distutils.util.py' from 'e:\python38\lib\site-packages\PyInstaller\hooks'...
13753 INFO: Loading module hook 'hook-encodings.py' from 'e:\python38\lib\site-packages\PyInstaller\hooks'...
13987 INFO: Loading module hook 'hook-heapq.py' from 'e:\python38\lib\site-packages\PyInstaller\hooks'...
13993 INFO: Loading module hook 'hook-lib2to3.py' from 'e:\python38\lib\site-packages\PyInstaller\hooks'...
14434 INFO: Loading module hook 'hook-multiprocessing.util.py' from 'e:\python38\lib\site-packages\PyInstaller\hooks'...
14493 INFO: Loading module hook 'hook-pickle.py' from 'e:\python38\lib\site-packages\PyInstaller\hooks'...
14500 INFO: Loading module hook 'hook-sysconfig.py' from 'e:\python38\lib\site-packages\PyInstaller\hooks'...
14514 INFO: Loading module hook 'hook-xml.etree.cElementTree.py' from 'e:\python38\lib\site-packages\PyInstaller\hooks'...
14517 INFO: Loading module hook 'hook-xml.py' from 'e:\python38\lib\site-packages\PyInstaller\hooks'...
14661 INFO: Loading module hook 'hook-_tkinter.py' from 'e:\python38\lib\site-packages\PyInstaller\hooks'...
15109 INFO: checking Tree
15109 INFO: Building Tree because Tree-00.toc is non existent
15109 INFO: Building Tree Tree-00.toc
15238 INFO: checking Tree
15238 INFO: Building Tree because Tree-01.toc is non existent
15238 INFO: Building Tree Tree-01.toc
15486 INFO: checking Tree
15486 INFO: Building Tree because Tree-02.toc is non existent
15486 INFO: Building Tree Tree-02.toc
15511 INFO: Looking for ctypes DLLs
15533 INFO: Analyzing run-time hooks ...
15538 INFO: Including run-time hook 'e:\python38\lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_subprocess.py'
15569 INFO: Including run-time hook 'e:\python38\lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_pkgutil.py'
15575 INFO: Including run-time hook 'e:\python38\lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_multiprocessing.py'
15580 INFO: Including run-time hook 'e:\python38\lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_inspect.py'
15591 INFO: Looking for dynamic libraries
17135 INFO: Looking for eggs
17135 INFO: Using Python library e:python38python38.dll
17135 INFO: Found binding redirects: 
[]
17140 INFO: Warnings written to D:Python项目Python_codebuildPython_codewarn-Python_code.txt
17211 INFO: Graph cross-reference written to D:Python项目Python_codebuildPython_codexref-Python_code.html
17302 INFO: checking PYZ
17302 INFO: Building PYZ because PYZ-00.toc is non existent
17302 INFO: Building PYZ (ZlibArchive) D:Python项目Python_codebuildPython_codePYZ-00.pyz
18048 INFO: Building PYZ (ZlibArchive) D:Python项目Python_codebuildPython_codePYZ-00.pyz completed successfully.
18062 INFO: checking PKG
18063 INFO: Building PKG because PKG-00.toc is non existent
18063 INFO: Building PKG (CArchive) Python_code.pkg
Traceback (most recent call last):
  File "e:python38lib unpy.py", line 193, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "e:python38lib unpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "E:Python38Scriptspyinstaller.exe__main__.py", line 9, in <module>
  File "e:python38libsite-packagesPyInstaller__main__.py", line 178, in run
    run_build(pyi_config, spec_file, vars(args))
  File "e:python38libsite-packagesPyInstaller__main__.py", line 59, in run_build
    PyInstaller.building.build_main.main(pyi_config, spec_file, kwargs)
  File "e:python38libsite-packagesPyInstallerbuildingbuild_main.py", line 845, in main
    build(specfile, distpath, workpath, clean_build)
  File "e:python38libsite-packagesPyInstallerbuildingbuild_main.py", line 767, in build
    exec(code, spec_namespace)
  File "D:Python项目Python_codePython_code.spec", line 24, in <module>
    exe = EXE(
  File "e:python38libsite-packagesPyInstallerbuildingapi.py", line 506, in __init__
    self.pkg = PKG(
  File "e:python38libsite-packagesPyInstallerbuildingapi.py", line 206, in __init__
    self.__postinit__()
  File "e:python38libsite-packagesPyInstallerbuildingdatastruct.py", line 173, in __postinit__
    self.assemble()
  File "e:python38libsite-packagesPyInstallerbuildingapi.py", line 269, in assemble
    fnm = checkCache(
  File "e:python38libsite-packagesPyInstallerbuilding֌.py", line 308, in checkCache
    shutil.copy(fnm, cachedfile)
  File "e:python38libshutil.py", line 415, in copy
    copyfile(src, dst, follow_symlinks=follow_symlinks)
  File "e:python38libshutil.py", line 261, in copyfile
    with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
PermissionError: [Errno 13] Permission denied: 'C:\Users\Administrator.Win7-2022VLSMTG\AppData\Local\pyinstaller\bincache00_py38_64bit\api-ms-win-core-sysinfo-l1-1-0.dll'

到此这篇python3.8新建py文件(python3.8怎么新建文件)的文章就 介绍到这了,更多相关内容请继续浏览下面的相关 推荐文章,希望大家都能在编程的领域有一番成就!

版权声明


相关文章:

  • py文件怎么生成exe(python生成pyc文件)2025-01-16 22:45:06
  • python文件打开后闪退(python执行后闪退)2025-01-16 22:45:06
  • python函数如何定义,举例说明(python的函数定义规范)2025-01-16 22:45:06
  • python怎么编写函数(Python怎么编写函数)2025-01-16 22:45:06
  • py文件怎么用python打开(用python运行py文件)2025-01-16 22:45:06
  • python函数的定义与应用(python程序中函数的定义)2025-01-16 22:45:06
  • python list字符转数字(python list字符串转list)2025-01-16 22:45:06
  • pivot函数 excel(pivot函数 python)2025-01-16 22:45:06
  • pythonprint占位符(python占位符号)2025-01-16 22:45:06
  • python函数没有return返回值会怎么样(python函数如果没有return语句)2025-01-16 22:45:06
  • 全屏图片