恢復Django 項目

隨筆記錄

目錄

1. 重建Mysql DB

2. 啟動Django 項目

2.1 確保你的系統上已安裝pip工具。你可以使用以下命令來檢查pip是否已安裝

2.2? 安裝Packages

2.2.1 安裝Django

2.2.2 安裝pymysql

2.2.3?安裝 kafka

2.2.4?安裝 requests

2.2.5 安裝simplepro

2.2.6 安裝libjpeg-devel

2.2.7?重新安裝simplepro

2.2.8 安裝faker?

2.3?所有packages安裝完成后,再次運行你的Python腳本

2.4?啟動Django 項目

2.5?瀏覽器訪問

3. 添加supervisord 守護進程


1. 重建Mysql DB

2. 啟動Django 項目


[root@localhost Init_Sys]# pwd
/home/TestEvn/Risk_Init_V2/Init_Sys
[root@localhost Init_Sys]# 
[root@localhost Init_Sys]# 
[root@localhost Init_Sys]# ll
total 844
drwxr-xr-x. 9 root root    272 Apr 21  2023 Initapp
-rw-r--r--. 1 root root 853282 Apr 21  2023 Initapp.zip
drwxr-xr-x. 3 root root    136 Apr 21  2023 Init_Sys
-rw-r--r--. 1 root root   1022 Apr 21  2023 manage.py
-rw-r--r--. 1 root root    276 Apr 21  2023 Start_Init.sh
[root@localhost Init_Sys]# 
[root@localhost Init_Sys]# python3 manage.py makemigrations Initapp
Traceback (most recent call last):File "manage.py", line 10, in <module>from django.core.management.commands.runserver import Command as Runserver
ModuleNotFoundError: No module named 'django'
[root@localhost Init_Sys]# 
2.1 確保你的系統上已安裝pip工具。你可以使用以下命令來檢查pip是否已安裝
# 沒有Django package, 安裝Django[root@localhost Init_Sys]# 
[root@localhost Init_Sys]# 
[root@localhost Init_Sys]# pip3 --version
pip 9.0.3 from /usr/lib/python3.6/site-packages (python 3.6)
[root@localhost Init_Sys]# 
[root@localhost Init_Sys]# 
2.2? 安裝Packages
2.2.1 安裝Django
# 如果你想安裝特定版本的Django,請將上述命令中的"django"替換為所需版本的Django[root@localhost Init_Sys]# 
[root@localhost Init_Sys]# pip3 install django
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
Collecting djangoDownloading https://files.pythonhosted.org/packages/c9/69/72663af69f1a70fa186813220c8ec5ce7f9056b6d987077e2c38ed794bee/Django-3.2.23-py3-none-any.whl (7.9MB)100% |████████████████████████████████| 7.9MB 26kB/s 
Collecting asgiref<4,>=3.3.2 (from django)Downloading https://files.pythonhosted.org/packages/fe/66/577f32b54c50dcd8dec38447258e82ed327ecb86820d67ae7b3dea784f13/asgiref-3.4.1-py3-none-any.whl
Collecting pytz (from django)Downloading https://files.pythonhosted.org/packages/32/4d/aaf7eff5deb402fd9a24a1449a8119f00d74ae9c2efa79f8ef9994261fc2/pytz-2023.3.post1-py2.py3-none-any.whl (502kB)100% |████████████████████████████████| 512kB 30kB/s 
Collecting sqlparse>=0.2.2 (from django)Downloading https://files.pythonhosted.org/packages/98/5a/66d7c9305baa9f11857f247d4ba761402cea75db6058ff850ed7128957b7/sqlparse-0.4.4-py3-none-any.whl (41kB)100% |████████████████████████████████| 51kB 24kB/s 
Collecting typing-extensions; python_version < "3.8" (from asgiref<4,>=3.3.2->django)Downloading https://files.pythonhosted.org/packages/45/6b/44f7f8f1e110027cf88956b59f2fad776cca7e1704396d043f89effd3a0e/typing_extensions-4.1.1-py3-none-any.whl
Installing collected packages: typing-extensions, asgiref, pytz, sqlparse, django
Successfully installed asgiref-3.4.1 django-3.2.23 pytz-2023.3.post1 sqlparse-0.4.4 typing-extensions-4.1.1
[root@localhost Init_Sys]# 
2.2.2 安裝pymysql
[root@localhost Init_Sys]# pip3 install pymysql
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
Collecting pymysqlDownloading https://files.pythonhosted.org/packages/4f/52/a115fe175028b058df353c5a3d5290b71514a83f67078a6482cff24d6137/PyMySQL-1.0.2-py3-none-any.whl (43kB)100% |████████████████████████████████| 51kB 268kB/s 
Installing collected packages: pymysql
Successfully installed pymysql-1.0.2
[root@localhost Init_Sys]# 
2.2.3?安裝 kafka
[root@localhost Init_Sys]# pip3 install kafka-python
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
Collecting kafka-pythonDownloading https://files.pythonhosted.org/packages/75/68/dcb0db055309f680ab2931a3eeb22d865604b638acf8c914bedf4c1a0c8c/kafka_python-2.0.2-py2.py3-none-any.whl (246kB)100% |████████████████████████████████| 256kB 1.0MB/s 
Installing collected packages: kafka-python
Successfully installed kafka-python-2.0.2
[root@localhost Init_Sys]# 
[root@localhost Init_Sys]# 
2.2.4?安裝 requests
[root@localhost Init_Sys]# 
[root@localhost Init_Sys]# pip3 install requests
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
Collecting requestsDownloading https://files.pythonhosted.org/packages/2d/61/08076519c80041bc0ffa1a8af0cbd3bf3e2b62af10435d269a9d0f40564d/requests-2.27.1-py2.py3-none-any.whl (63kB)100% |████████████████████████████████| 71kB 312kB/s 
Collecting urllib3<1.27,>=1.21.1 (from requests)Downloading https://files.pythonhosted.org/packages/b0/53/aa91e163dcfd1e5b82d8a890ecf13314e3e149c05270cc644581f77f17fd/urllib3-1.26.18-py2.py3-none-any.whl (143kB)100% |████████████████████████████████| 153kB 571kB/s 
Collecting certifi>=2017.4.17 (from requests)Downloading https://files.pythonhosted.org/packages/64/62/428ef076be88fa93716b576e4a01f919d25968913e817077a386fcbe4f42/certifi-2023.11.17-py3-none-any.whl (162kB)100% |████████████████████████████████| 163kB 1.6MB/s 
Collecting charset-normalizer~=2.0.0; python_version >= "3" (from requests)Downloading https://files.pythonhosted.org/packages/06/b3/24afc8868eba069a7f03650ac750a778862dc34941a4bebeb58706715726/charset_normalizer-2.0.12-py3-none-any.whl
Collecting idna<4,>=2.5; python_version >= "3" (from requests)Downloading https://files.pythonhosted.org/packages/c2/e7/a82b05cf63a603df6e68d59ae6a68bf5064484a0718ea5033660af4b54a9/idna-3.6-py3-none-any.whl (61kB)100% |████████████████████████████████| 71kB 2.3MB/s 
Installing collected packages: urllib3, certifi, charset-normalizer, idna, requests
Successfully installed certifi-2023.11.17 charset-normalizer-2.0.12 idna-3.6 requests-2.27.1 urllib3-1.26.18
[root@localhost Init_Sys]# 
2.2.5 安裝simplepro
[root@localhost Init_Sys]# pip3 install simplepro
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
Collecting simpleproUsing cached https://files.pythonhosted.org/packages/b5/a2/7d4fc4d98ff39d5453f4f5c7be8c07c593e6f863e0accdefa88f56916622/simplepro-7.2.2.tar.gz
Requirement already satisfied: django>=2.1 in /usr/local/lib64/python3.6/site-packages (from simplepro)
Requirement already satisfied: django-simpleui>=2023.11.15 in /usr/local/lib/python3.6/site-packages (from simplepro)
Requirement already satisfied: django-import-export in /usr/local/lib/python3.6/site-packages (from simplepro)
Requirement already satisfied: requests in /usr/local/lib/python3.6/site-packages (from simplepro)
Requirement already satisfied: rsa in /usr/local/lib/python3.6/site-packages (from simplepro)
Requirement already satisfied: psutil in /usr/local/lib64/python3.6/site-packages (from simplepro)
Collecting pillow (from simplepro)Using cached https://files.pythonhosted.org/packages/7d/2a/2fc11b54e2742db06297f7fa7f420a0e3069fdcf0e4b57dfec33f0b08622/Pillow-8.4.0.tar.gz
Requirement already satisfied: sqlparse>=0.2.2 in /usr/local/lib/python3.6/site-packages (from django>=2.1->simplepro)
Requirement already satisfied: pytz in /usr/local/lib/python3.6/site-packages (from django>=2.1->simplepro)
Requirement already satisfied: asgiref<4,>=3.3.2 in /usr/local/lib/python3.6/site-packages (from django>=2.1->simplepro)
Requirement already satisfied: diff-match-patch in /usr/local/lib/python3.6/site-packages (from django-import-export->simplepro)
Requirement already satisfied: tablib[html,ods,xls,xlsx,yaml]>=3.0.0 in /usr/local/lib/python3.6/site-packages (from django-import-export->simplepro)
Requirement already satisfied: idna<4,>=2.5; python_version >= "3" in /usr/local/lib/python3.6/site-packages (from requests->simplepro)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.6/site-packages (from requests->simplepro)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.6/site-packages (from requests->simplepro)
Requirement already satisfied: charset-normalizer~=2.0.0; python_version >= "3" in /usr/local/lib/python3.6/site-packages (from requests->simplepro)
Requirement already satisfied: pyasn1>=0.1.3 in /usr/local/lib/python3.6/site-packages (from rsa->simplepro)
Requirement already satisfied: typing-extensions; python_version < "3.8" in /usr/local/lib/python3.6/site-packages (from asgiref<4,>=3.3.2->django>=2.1->simplepro)
Requirement already satisfied: markuppy; extra == "html" in /usr/local/lib/python3.6/site-packages (from tablib[html,ods,xls,xlsx,yaml]>=3.0.0->django-import-export->simplepro)
Requirement already satisfied: odfpy; extra == "ods" in /usr/local/lib/python3.6/site-packages (from tablib[html,ods,xls,xlsx,yaml]>=3.0.0->django-import-export->simplepro)
Requirement already satisfied: xlrd; extra == "xls" in /usr/local/lib/python3.6/site-packages (from tablib[html,ods,xls,xlsx,yaml]>=3.0.0->django-import-export->simplepro)
Requirement already satisfied: xlwt; extra == "xls" in /usr/local/lib/python3.6/site-packages (from tablib[html,ods,xls,xlsx,yaml]>=3.0.0->django-import-export->simplepro)
Requirement already satisfied: openpyxl>=2.6.0; extra == "xlsx" in /usr/local/lib/python3.6/site-packages (from tablib[html,ods,xls,xlsx,yaml]>=3.0.0->django-import-export->simplepro)
Requirement already satisfied: pyyaml; extra == "yaml" in /usr/local/lib64/python3.6/site-packages (from tablib[html,ods,xls,xlsx,yaml]>=3.0.0->django-import-export->simplepro)
Requirement already satisfied: defusedxml in /usr/local/lib/python3.6/site-packages (from odfpy; extra == "ods"->tablib[html,ods,xls,xlsx,yaml]>=3.0.0->django-import-export->simplepro)
Requirement already satisfied: et-xmlfile in /usr/local/lib/python3.6/site-packages (from openpyxl>=2.6.0; extra == "xlsx"->tablib[html,ods,xls,xlsx,yaml]>=3.0.0->django-import-export->simplepro)
Installing collected packages: pillow, simpleproRunning setup.py install for pillow ... errorComplete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-d51wvxqq/pillow/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-og1tmj5x-record/install-record.txt --single-version-externally-managed --compile:running installrunning buildrunning build_pycreating buildcreating build/lib.linux-x86_64-3.6creating build/lib.linux-x86_64-3.6/PILcopying src/PIL/BdfFontFile.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/BlpImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/BmpImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/BufrStubImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/ContainerIO.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/CurImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/DcxImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/DdsImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/EpsImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/ExifTags.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/FitsStubImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/FliImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/FontFile.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/FpxImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/FtexImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/GbrImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/GdImageFile.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/GifImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/GimpGradientFile.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/GimpPaletteFile.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/GribStubImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/Hdf5StubImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/IcnsImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/IcoImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/ImImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/Image.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/ImageChops.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/ImageCms.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/ImageColor.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/ImageDraw.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/ImageDraw2.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/ImageEnhance.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/ImageFile.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/ImageFilter.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/ImageFont.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/ImageGrab.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/ImageMath.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/ImageMode.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/ImageMorph.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/ImageOps.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/ImagePalette.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/ImagePath.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/ImageQt.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/ImageSequence.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/ImageShow.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/ImageStat.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/ImageTk.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/ImageTransform.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/ImageWin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/ImtImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/IptcImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/Jpeg2KImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/JpegImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/JpegPresets.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/McIdasImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/MicImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/MpegImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/MpoImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/MspImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/PSDraw.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/PaletteFile.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/PalmImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/PcdImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/PcfFontFile.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/PcxImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/PdfImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/PdfParser.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/PixarImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/PngImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/PpmImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/PsdImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/PyAccess.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/SgiImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/SpiderImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/SunImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/TarIO.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/TgaImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/TiffImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/TiffTags.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/WalImageFile.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/WebPImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/WmfImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/XVThumbImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/XbmImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/XpmImagePlugin.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/__init__.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/__main__.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/_binary.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/_tkinter_finder.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/_util.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/_version.py -> build/lib.linux-x86_64-3.6/PILcopying src/PIL/features.py -> build/lib.linux-x86_64-3.6/PILrunning egg_infowriting src/Pillow.egg-info/PKG-INFOwriting dependency_links to src/Pillow.egg-info/dependency_links.txtwriting top-level names to src/Pillow.egg-info/top_level.txtreading manifest file 'src/Pillow.egg-info/SOURCES.txt'reading manifest template 'MANIFEST.in'warning: no files found matching '*.c'warning: no files found matching '*.h'warning: no files found matching '*.sh'warning: no previously-included files found matching '.appveyor.yml'warning: no previously-included files found matching '.clang-format'warning: no previously-included files found matching '.coveragerc'warning: no previously-included files found matching '.editorconfig'warning: no previously-included files found matching '.readthedocs.yml'warning: no previously-included files found matching 'codecov.yml'warning: no previously-included files matching '.git*' found anywhere in distributionwarning: no previously-included files matching '*.pyc' found anywhere in distributionwarning: no previously-included files matching '*.so' found anywhere in distributionno previously-included directories found matching '.ci'writing manifest file 'src/Pillow.egg-info/SOURCES.txt'running build_extThe headers or library files could not be found for jpeg,a required dependency when compiling Pillow from source.Please see the install instructions at:https://pillow.readthedocs.io/en/latest/installation.htmlTraceback (most recent call last):File "/tmp/pip-build-d51wvxqq/pillow/setup.py", line 1024, in <module>zip_safe=not (debug_build() or PLATFORM_MINGW),File "/usr/lib/python3.6/site-packages/setuptools/__init__.py", line 129, in setupreturn distutils.core.setup(**attrs)File "/usr/lib64/python3.6/distutils/core.py", line 148, in setupdist.run_commands()File "/usr/lib64/python3.6/distutils/dist.py", line 955, in run_commandsself.run_command(cmd)File "/usr/lib64/python3.6/distutils/dist.py", line 974, in run_commandcmd_obj.run()File "/usr/lib/python3.6/site-packages/setuptools/command/install.py", line 61, in runreturn orig.install.run(self)File "/usr/lib64/python3.6/distutils/command/install.py", line 556, in runself.run_command('build')File "/usr/lib64/python3.6/distutils/cmd.py", line 313, in run_commandself.distribution.run_command(command)File "/usr/lib64/python3.6/distutils/dist.py", line 974, in run_commandcmd_obj.run()File "/usr/lib64/python3.6/distutils/command/build.py", line 135, in runself.run_command(cmd_name)File "/usr/lib64/python3.6/distutils/cmd.py", line 313, in run_commandself.distribution.run_command(command)File "/usr/lib64/python3.6/distutils/dist.py", line 974, in run_commandcmd_obj.run()File "/usr/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 78, in run_build_ext.run(self)File "/usr/lib64/python3.6/distutils/command/build_ext.py", line 339, in runself.build_extensions()File "/tmp/pip-build-d51wvxqq/pillow/setup.py", line 790, in build_extensionsraise RequiredDependencyException(f)__main__.RequiredDependencyException: jpegDuring handling of the above exception, another exception occurred:Traceback (most recent call last):File "<string>", line 1, in <module>File "/tmp/pip-build-d51wvxqq/pillow/setup.py", line 1037, in <module>raise RequiredDependencyException(msg)__main__.RequiredDependencyException:The headers or library files could not be found for jpeg,a required dependency when compiling Pillow from source.Please see the install instructions at:https://pillow.readthedocs.io/en/latest/installation.html----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-d51wvxqq/pillow/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-og1tmj5x-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-d51wvxqq/pillow/
[root@localhost Init_Sys]# # 安裝simplePro 失敗,根據錯誤信息顯示,安裝Pillow庫時出現了一個錯誤。錯誤提示說找不到jpeg的頭文件或庫文件,這是在從源碼編譯Pillow時所需的一個依賴項。# sudo yum install libjpeg-devel
2.2.6 安裝libjpeg-devel
[root@localhost Init_Sys]# yum install libjpeg-devel
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile* base: mirrors.bfsu.edu.cn* epel: mirrors.bfsu.edu.cn* extras: mirrors.bfsu.edu.cn* updates: mirrors.aliyun.com
Resolving Dependencies
--> Running transaction check
---> Package libjpeg-turbo-devel.x86_64 0:1.2.90-8.el7 will be installed
--> Finished Dependency ResolutionDependencies Resolved============================================================================================================================================================================================================================================================================================Package                                                                       Arch                                                             Version                                                                Repository                                                      Size
============================================================================================================================================================================================================================================================================================
Installing:libjpeg-turbo-devel                                                           x86_64                                                           1.2.90-8.el7                                                           base                                                            99 kTransaction Summary
============================================================================================================================================================================================================================================================================================
Install  1 PackageTotal download size: 99 k
Installed size: 314 k
Is this ok [y/d/N]: y                          # y
Downloading packages:
libjpeg-turbo-devel-1.2.90-8.el7.x86_64.rpm                                                                                                                                                                                                                          |  99 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transactionInstalling : libjpeg-turbo-devel-1.2.90-8.el7.x86_64                                                                                                                                                                                                                                  1/1 Verifying  : libjpeg-turbo-devel-1.2.90-8.el7.x86_64                                                                                                                                                                                                                                  1/1 Installed:libjpeg-turbo-devel.x86_64 0:1.2.90-8.el7                                                                                                                                                                                                                                                 Complete!
[root@localhost Init_Sys]# 
[root@localhost Init_Sys]# 
2.2.7?重新安裝simplepro
# 重新安裝  simplepro[root@localhost Init_Sys]# pip3 install simplepro
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
Collecting simpleproUsing cached https://files.pythonhosted.org/packages/b5/a2/7d4fc4d98ff39d5453f4f5c7be8c07c593e6f863e0accdefa88f56916622/simplepro-7.2.2.tar.gz
Requirement already satisfied: django>=2.1 in /usr/local/lib64/python3.6/site-packages (from simplepro)
Requirement already satisfied: django-simpleui>=2023.11.15 in /usr/local/lib/python3.6/site-packages (from simplepro)
Requirement already satisfied: django-import-export in /usr/local/lib/python3.6/site-packages (from simplepro)
Requirement already satisfied: requests in /usr/local/lib/python3.6/site-packages (from simplepro)
Requirement already satisfied: rsa in /usr/local/lib/python3.6/site-packages (from simplepro)
Requirement already satisfied: psutil in /usr/local/lib64/python3.6/site-packages (from simplepro)
Collecting pillow (from simplepro)Using cached https://files.pythonhosted.org/packages/7d/2a/2fc11b54e2742db06297f7fa7f420a0e3069fdcf0e4b57dfec33f0b08622/Pillow-8.4.0.tar.gz
Requirement already satisfied: pytz in /usr/local/lib/python3.6/site-packages (from django>=2.1->simplepro)
Requirement already satisfied: asgiref<4,>=3.3.2 in /usr/local/lib/python3.6/site-packages (from django>=2.1->simplepro)
Requirement already satisfied: sqlparse>=0.2.2 in /usr/local/lib/python3.6/site-packages (from django>=2.1->simplepro)
Requirement already satisfied: tablib[html,ods,xls,xlsx,yaml]>=3.0.0 in /usr/local/lib/python3.6/site-packages (from django-import-export->simplepro)
Requirement already satisfied: diff-match-patch in /usr/local/lib/python3.6/site-packages (from django-import-export->simplepro)
Requirement already satisfied: charset-normalizer~=2.0.0; python_version >= "3" in /usr/local/lib/python3.6/site-packages (from requests->simplepro)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.6/site-packages (from requests->simplepro)
Requirement already satisfied: idna<4,>=2.5; python_version >= "3" in /usr/local/lib/python3.6/site-packages (from requests->simplepro)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.6/site-packages (from requests->simplepro)
Requirement already satisfied: pyasn1>=0.1.3 in /usr/local/lib/python3.6/site-packages (from rsa->simplepro)
Requirement already satisfied: typing-extensions; python_version < "3.8" in /usr/local/lib/python3.6/site-packages (from asgiref<4,>=3.3.2->django>=2.1->simplepro)
Requirement already satisfied: markuppy; extra == "html" in /usr/local/lib/python3.6/site-packages (from tablib[html,ods,xls,xlsx,yaml]>=3.0.0->django-import-export->simplepro)
Requirement already satisfied: odfpy; extra == "ods" in /usr/local/lib/python3.6/site-packages (from tablib[html,ods,xls,xlsx,yaml]>=3.0.0->django-import-export->simplepro)
Requirement already satisfied: xlrd; extra == "xls" in /usr/local/lib/python3.6/site-packages (from tablib[html,ods,xls,xlsx,yaml]>=3.0.0->django-import-export->simplepro)
Requirement already satisfied: xlwt; extra == "xls" in /usr/local/lib/python3.6/site-packages (from tablib[html,ods,xls,xlsx,yaml]>=3.0.0->django-import-export->simplepro)
Requirement already satisfied: openpyxl>=2.6.0; extra == "xlsx" in /usr/local/lib/python3.6/site-packages (from tablib[html,ods,xls,xlsx,yaml]>=3.0.0->django-import-export->simplepro)
Requirement already satisfied: pyyaml; extra == "yaml" in /usr/local/lib64/python3.6/site-packages (from tablib[html,ods,xls,xlsx,yaml]>=3.0.0->django-import-export->simplepro)
Requirement already satisfied: defusedxml in /usr/local/lib/python3.6/site-packages (from odfpy; extra == "ods"->tablib[html,ods,xls,xlsx,yaml]>=3.0.0->django-import-export->simplepro)
Requirement already satisfied: et-xmlfile in /usr/local/lib/python3.6/site-packages (from openpyxl>=2.6.0; extra == "xlsx"->tablib[html,ods,xls,xlsx,yaml]>=3.0.0->django-import-export->simplepro)
Installing collected packages: pillow, simpleproRunning setup.py install for pillow ... doneRunning setup.py install for simplepro ... done
Successfully installed pillow-8.4.0 simplepro-7.2.2
[root@localhost Init_Sys]# 
2.2.8 安裝faker?
root@localhost Init_Sys]# pip3 install faker
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
Collecting fakerDownloading https://files.pythonhosted.org/packages/36/e9/eb926239c310abc1502caffe651ac83e72a11c4cc9b9f8d9294be942758b/Faker-14.2.1-py3-none-any.whl (1.6MB)100% |████████████████████████████████| 1.6MB 31kB/s 
Collecting python-dateutil>=2.4 (from faker)Downloading https://files.pythonhosted.org/packages/36/7a/87837f39d0296e723bb9b62bbb257d0355c7f6128853c78955f57342a56d/python_dateutil-2.8.2-py2.py3-none-any.whl (247kB)100% |████████████████████████████████| 256kB 18kB/s 
Requirement already satisfied: typing-extensions>=3.7.4.3; python_version < "3.8" in /usr/local/lib/python3.6/site-packages (from faker)
Collecting six>=1.5 (from python-dateutil>=2.4->faker)Downloading https://files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl
Installing collected packages: six, python-dateutil, faker
Successfully installed faker-14.2.1 python-dateutil-2.8.2 six-1.16.0
[root@localhost Init_Sys]# 
2.3?所有packages安裝完成后,再次運行你的Python腳本
# python3 manage.py makemigrations Initapp[root@localhost Init_Sys]# python3 manage.py makemigrations Initapp
Migrations for 'Initapp':Initapp/migrations/0097_alter_dyn_rule_factor_param_config_risk_param_type.py- Alter field risk_param_type on dyn_rule_factor_param_config
[root@localhost Init_Sys]# 
[root@localhost Init_Sys]# 
[root@localhost Init_Sys]# 
[root@localhost Init_Sys]# python3 manage.py migrate Initapp
Operations to perform:Apply all migrations: Initapp
Running migrations:Applying Initapp.0001_initial... OKApplying Initapp.0002_auto_20220903_1417... OKApplying Initapp.0003_auto_20220904_1658... OKApplying Initapp.0004_index_componentinfo_ext_stock_production_ext... OKApplying Initapp.0005_auto_20221011_1418... OKApplying Initapp.0006_auto_20221012_0952... OKApplying Initapp.0007_auto_20221012_0953... OKApplying Initapp.0008_auto_20221012_0953... OKApplying Initapp.0009_auto_20221012_0954... OKApplying Initapp.0010_auto_20221012_0956... OKApplying Initapp.0011_auto_20221012_1002... OKApplying Initapp.0012_alter_rule_acc_except_control_level_value... OKApplying Initapp.0013_auto_20221013_1429... OKApplying Initapp.0014_alter_security_info_security_type... OKApplying Initapp.0015_auto_20221013_1648... OKApplying Initapp.0016_alter_stock_production_ext_securityname... OKApplying Initapp.0017_auto_20221013_1653... OKApplying Initapp.0018_auto_20221013_1709... OKApplying Initapp.0019_auto_20221013_1715... OKApplying Initapp.0020_alter_stock_production_ext_contractmultipli... OKApplying Initapp.0021_auto_20221013_1720... OKApplying Initapp.0022_alter_security_info_security_type... OKApplying Initapp.0023_alter_security_info_security_type... OKApplying Initapp.0024_alter_rule_info_risk_conno... OKApplying Initapp.0025_alter_rule_info_risk_conno... OKApplying Initapp.0026_auto_20221017_1059... OKApplying Initapp.0027_auto_20221017_1100... OKApplying Initapp.0028_alter_rule_account_config_control_level... OKApplying Initapp.0029_alter_rule_info_enable_status... OKApplying Initapp.0030_auto_20221017_1619... OKApplying Initapp.0031_alter_security_info_securityid... OKApplying Initapp.0032_alter_security_info_securityid... OKApplying Initapp.0033_alter_security_info_securityid... OKApplying Initapp.0034_auto_20221017_1737... OKApplying Initapp.0035_alter_rule_account_config_account_source... OKApplying Initapp.0036_alter_rule_account_config_account_source... OKApplying Initapp.0037_alter_security_info_security_exchange... OKApplying Initapp.0038_alter_rule_condition_config_risk_param_type... OKApplying Initapp.0039_alter_security_info_securityid... OKApplying Initapp.0040_auto_20221018_1408... OKApplying Initapp.0041_auto_20221018_1454... OKApplying Initapp.0042_alter_rule_condition_config_factor_int_para3... OKApplying Initapp.0043_auto_20221018_1611... OKApplying Initapp.0044_alter_rule_condition_config_risk_param_type... OKApplying Initapp.0045_alter_security_info_securityid... OKApplying Initapp.0046_auto_20221025_1032... OKApplying Initapp.0047_auto_20221025_1037... OKApplying Initapp.0048_auto_20221025_1719... OKApplying Initapp.0049_auto_20221026_1609... OKApplying Initapp.0050_alter_threshold_value_a_pchg1... OKApplying Initapp.0051_alter_security_info_securityid... OKApplying Initapp.0052_auto_20221027_1139... OKApplying Initapp.0053_auto_20221027_1302... OKApplying Initapp.0054_auto_20221027_1307... OKApplying Initapp.0055_auto_20221027_1321... OKApplying Initapp.0056_alter_rule_info_remakrks... OKApplying Initapp.0057_auto_20221027_1343... OKApplying Initapp.0058_auto_20221027_1538... OKApplying Initapp.0059_auto_20221027_1700... OKApplying Initapp.0060_alter_rule_account_config_account_source... OKApplying Initapp.0061_auto_20221028_1605... OKApplying Initapp.0062_alter_rule_info_risk_conno... OKApplying Initapp.0063_alter_rule_info_riskcon_begindate... OKApplying Initapp.0064_alter_rule_info_riskcon_begindate... OKApplying Initapp.0065_auto_20221031_1107... OKApplying Initapp.0066_alter_index_componentinfo_ext_componentsecurityexchange... OKApplying Initapp.0067_alter_index_componentinfo_ext_componentsecurityexchange... OKApplying Initapp.0068_alter_index_componentinfo_ext_securityid... OKApplying Initapp.0069_alter_index_componentinfo_ext_securityid... OKApplying Initapp.0070_auto_20221031_1355... OKApplying Initapp.0071_auto_20221101_1040... OKApplying Initapp.0072_alter_account_info_stock_holder_no... OKApplying Initapp.0073_auto_20221104_0020... OKApplying Initapp.0074_alter_rule_account_config_account_source... OKApplying Initapp.0075_auto_20221114_1438... OKApplying Initapp.0076_alter_stock_production_ext_securityid... OKApplying Initapp.0077_auto_20221114_1450... OKApplying Initapp.0078_dynamic_dimension... OKApplying Initapp.0079_stock_production_ext_closepx... OKApplying Initapp.0080_auto_20221121_1103... OKApplying Initapp.0081_alter_dynamic_dimension_dimensionid... OKApplying Initapp.0082_auto_20221122_1401... OKApplying Initapp.0083_alter_rule_account_config_account_source... OKApplying Initapp.0084_dyn_rule_info... OKApplying Initapp.0085_alter_dyn_rule_info_risk_conno... OKApplying Initapp.0086_alter_dyn_rule_info_risk_conno... OKApplying Initapp.0087_auto_20230323_0953... OKApplying Initapp.0088_auto_20230323_1123... OKApplying Initapp.0089_dyn_rule_acc_except_dyn_rule_account_config_dyn_rule_condition_config_dyn_rule_factor_config_dyn_rul... OKApplying Initapp.0090_alter_dyn_rule_info_risk_conno... OKApplying Initapp.0091_alter_dyn_rule_factor_param_config_remove_sec_value... OKApplying Initapp.0092_alter_dyn_rule_factor_param_config_remove_sec_value... OKApplying Initapp.0093_auto_20230328_0927... OKApplying Initapp.0094_auto_20230328_0930... OKApplying Initapp.0095_auto_20230328_0934... OKApplying Initapp.0096_alter_rule_account_config_enable_status... OKApplying Initapp.0097_alter_dyn_rule_factor_param_config_risk_param_type... OK
[root@localhost Init_Sys]# 
2.4?啟動Django 項目
[root@localhost Init_Sys]# python3 manage.py runserver
Watching for file changes with StatReloader
Performing system checks...System check identified no issues (0 silenced).You have 18 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth, contenttypes, sessions.
Run 'python manage.py migrate' to apply them.
December 11, 2023 - 10:05:35
Django version 3.2.23, using settings 'Init_Sys.settings'
Starting development server at http://192.168.2.247:8888/
Quit the server with CONTROL-C.
2.5?瀏覽器訪問

3. 添加supervisord 守護進程

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/215050.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/215050.shtml
英文地址,請注明出處:http://en.pswp.cn/news/215050.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

持續集成交付CICD:GitLabCI上傳Nexus制品

目錄 一、實驗 1.GitLabCI上傳Nexus制品 2.優化GitLabCI&#xff08;引用系統變量&#xff09; 3.添加if條件判斷項目類型 4.優化GitLabCI&#xff08;模板類&#xff09; 二、問題 1.GitLabCI獲取jar文件失敗 2. GitLabCI獲取流水線項目命名空間失敗 3.GItLab Packag…

.NET 8 編寫 LiteDB vs SQLite 數據庫 CRUD 接口性能測試(準備篇)

WebAppDbTest 項目準備 項目準備1、.net cli 創建項目2、nuget 包引用和項目結構2.1、項目添加相關 nuget 包2.2、WebAppDbTest 項目結構 3、項目代碼說明3.1、CSharp/C# 類文件說明3.2、json 配置文件說明 4、項目運行預覽 數據庫 .db 文件準備1、創建 SQLite 數據庫1.1、在 W…

c#讀取CSV文件跟Excel導入成DataTble

1.讀取CSV文件 /// <summary>/// 讀取CSV文件/// </summary>/// <param name"fileName">文件路徑</param>public static DataTable ReadCSV(string fileName){DataTable dt new DataTable();FileStream fs new FileStream(fileName, FileM…

Python---綜合案例

一、系統需求分析 1、需求分析 使用面向對象編程思想完成學員管理系統的開發&#xff0c;具體如下&#xff1a; ① 系統要求&#xff1a;學員數據存儲在文件中 ② 系統功能&#xff1a;添加學員、刪除學員、修改學員信息、查詢學員信息、顯示所有學員信息、保存學員信息及退…

56.windows docker 安裝ES、Go操作ES

文章目錄 一、環境準備1、 docker安裝ES2、啟動容器3、圖像化客戶端工具ElasticSearch-Head 二、Go ES連接與認證1、 連接ES2、配置ES認證 三、索引的增刪改查四、文檔的增刪改創建單個文檔根據文檔id刪除文檔批量刪除文檔批量創建文檔 五、文檔查詢列表查詢精確匹配模糊匹配嵌…

ubuntu18.04配置cuda+cudnn+tensorrt+anconda+pytorch-gpu+pycharm

一、顯卡驅動安裝 執行nvidia-smi查看安裝情況 二、cuda安裝 cuda官網下載cuda_11.6.2_510.47.03_linux.run&#xff0c;安裝執行 sudo sh cuda_11.6.2_510.47.03_linux.run提升安裝項&#xff0c;驅動不用安裝&#xff0c;即第一項&#xff08;Driver&#xff09;&#xff…

如何使用Java在Excel中添加動態數組公式?

本文由葡萄城技術團隊發布。轉載請注明出處&#xff1a;葡萄城官網&#xff0c;葡萄城為開發者提供專業的開發工具、解決方案和服務&#xff0c;賦能開發者。 前言 動態數組公式是 Excel 引入的一項重要功能&#xff0c;它將 Excel 分為兩種風格&#xff1a;Excel 365 和傳統 …

虹科技術 | IO-Link Wireless如何賦能工廠車間邁向無線自動化?

大規模定制、卓越運營和商業智能正在從根本上改變制造業&#xff0c;為了在競爭中立于不敗之地&#xff0c;制造商需要更加靈活、通用、可擴展和具有成本效益的機器和生產線。隨著制造商向工業 4.0 邁進&#xff0c;更好的適應性、更高的吞吐量和更短的停機時間是他們的共同要求…

打包CSS

接上一個打包HTML繼續進行CSS的打包 1.在之前的文件夾里的src文件夾創建一個css文件 2.在瀏覽器打開webpack——>中文文檔——>指南——>管理資源——>加載CSS 3.復制第一句代碼到終端 4.復制下圖代碼到webpack.config.js腳本的plugins&#xff1a;[.....]內容下…

【docker】Hello World

搜索hello-world鏡像 docker search hello-world拉去鏡像 docker pull hello-world查看本地鏡像 docker images 運行鏡像 docker run hello-world查看所有的容器 docker ps -a查詢start狀態容器 docker ps 輸出介紹 CONTAINER ID: 容器 ID。IMAGE: 使用的鏡像。COMMAN…

面試經典150題(14)

leetcode 150道題 計劃花兩個月時候刷完&#xff0c;今天&#xff08;第五天&#xff09;完成了1道(14)150&#xff1a; 14. &#xff08;134. 加油站&#xff09;題目描述&#xff1a; 在一條環路上有 n 個加油站&#xff0c;其中第 i 個加油站有汽油 gas[i] 升。 你有一輛油…

<JavaEE> 鎖進階 -- synchronized 的鎖優化

目錄 一、如何形容 synchronized 鎖 二、鎖升級 2.1 偏向鎖 2.2 輕量級鎖 2.3 重量級鎖 三、鎖消除 四、鎖粗化 一、如何形容 synchronized 鎖 synchronized 鎖是一個內部優化非常好的鎖&#xff0c;大部分情況下這個鎖都是適用的。在初始階段 synchronized 是一個樂觀…

分布式搜索引擎02

分布式搜索引擎02 在昨天的學習中&#xff0c;我們已經導入了大量數據到elasticsearch中&#xff0c;實現了elasticsearch的數據存儲功能。但elasticsearch最擅長的還是搜索和數據分析。 所以今天&#xff0c;我們研究下elasticsearch的數據搜索功能。我們會分別使用DSL和Res…

react面試總結2

redux中sages和thunk中間件的區別&#xff0c;優缺點 Redux 中的 redux-saga 和 redux-thunk 都是中間件&#xff0c;用于處理異步操作&#xff0c;但它們有一些區別。 Redux Thunk&#xff1a; 簡單易用&#xff1a;redux-thunk 是比較簡單直觀的中間件&#xff0c;它允許 …

手撕分布式緩存---HTTP Server搭建

經過了前兩個章節的學習&#xff0c;分布式緩存的存儲與新增我們已經實現了&#xff0c;并且對其做了高可用處理。本章節我們剝離和緩存強相關的邏輯&#xff0c;開始搭建一個HTTP服務器&#xff0c;畢竟緩存數據庫搭建完之后別人沒法訪問也是沒有用處的。這一章節我們重點學習…

ElasticSearch應用場景以及技術選型[ES系列] - 第496篇

歷史文章&#xff08;文章累計490&#xff09; 《國內最全的Spring Boot系列之一》 《國內最全的Spring Boot系列之二》 《國內最全的Spring Boot系列之三》 《國內最全的Spring Boot系列之四》 《國內最全的Spring Boot系列之五》 《國內最全的Spring Boot系列之六》 M…

PDF控件Spire.PDF for .NET【轉換】演示:將 PDF 轉換為 Excel

PDF是一種通用的文件格式&#xff0c;但它很難編輯。如果您想修改和計算PDF數據&#xff0c;將PDF轉換為Excel將是一個理想的解決方案。在本文中&#xff0c;您將了解如何使用Spire.PDF for .NET在 C# 和 VB.NET 中將 PDF 轉換為 Excel。 Spire.Doc 是一款專門對 Word 文檔進行…

【華為數據之道學習筆記】3-10元數據管理架構及策略

元數據管理架構包括產生元數據、采集元數據、注冊元數據和運 維元數據。 產生元數據&#xff1a; 制定元數據管理相關流程與規范的落地方案&#xff0c;在IT產品開發過程中實現業務元數據與技術元數據的連接。 采集元數據&#xff1a; 通過統一的元模型從各類IT系統中自動采集元…

多線程(初階九:線程池)

目錄 一、線程池的由來 二、線程池的簡單介紹 1、ThreadPoolExecutor類 &#xff08;1&#xff09;核心線程數和最大線程數&#xff1a; &#xff08;2&#xff09;保持存活時間和存活時間的單位 &#xff08;3&#xff09;放任務的隊列 &#xff08;4&#xff09;線程工…

Axure的安裝以及簡單使用

目錄 Axure簡介 是什么 有什么用 Axure的優缺點 優點&#xff1a; 缺點&#xff1a; 安裝 漢化 Axure的使用 工具欄 頁面 ?編輯 添加子頁面 ?編輯 Axure簡介 是什么 Axure是一款著名的原型設計工具。它允許用戶創建交互式線框圖、流程圖、原型和其他設計文檔&…