{"id":500,"date":"2024-11-02T19:51:10","date_gmt":"2024-11-02T11:51:10","guid":{"rendered":"http:\/\/www.chan.ink\/?p=500"},"modified":"2024-11-02T19:51:13","modified_gmt":"2024-11-02T11:51:13","slug":"%e3%80%90%e5%90%90%e6%a7%bd%e5%b9%b6%e8%ae%b0%e5%bd%95%e3%80%91flask%e7%8e%af%e5%a2%83%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"http:\/\/www.chan.ink\/index.php\/2024\/11\/02\/%e3%80%90%e5%90%90%e6%a7%bd%e5%b9%b6%e8%ae%b0%e5%bd%95%e3%80%91flask%e7%8e%af%e5%a2%83%e9%97%ae%e9%a2%98\/","title":{"rendered":"\u3010\u5410\u69fd\u5e76\u8bb0\u5f55\u3011flask\u73af\u5883\u95ee\u9898"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u80cc\u666f\uff1a\u4f7f\u7528python3.6\u8001\u7248\u672c\uff0c\u6309\u7167\u5982\u4e0b\u4f9d\u8d56\uff0cflask\u65e0\u6cd5\u8fd0\u884c<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u4e0b\u4e3arequirements.txt<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>click==8.0.4\ncolorama==0.4.5\ndataclasses==0.8\nFlask==2.0.3\nimportlib-metadata==4.8.3\nitsdangerous==2.0.1\nJinja2==3.0.0\nMarkupSafe==2.0.1\ntyping_extensions==4.1.1\nvsearch @ file:\/\/\/D:\/Python_Project\/Head_first\/mymodules\/dist\/vsearch-1.0.tar.gz\nWerkzeug==2.0.3\nzipp==3.6.0<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd0\u884c\u62a5\u9519\u5982\u4e0b\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><app-translate-content class=\"eusoft-translate-container-span-en ng-star-inserted\" _nghost-ng-c341168634=\"\"><span class=\"eusoft-eudic-chrome-extension-translate-content\" _ngcontent-ng-c341168634=\"\"><span _ngcontent-ng-c341168634=\"\" class=\"eusoft-eudic-chrome-extension-translate-white-space ng-star-inserted\">\u00a0<\/span><\/span><\/app-translate-content><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>D:\\Python_Project\\Head_first\\venv\\Scripts\\python.exe D:\\Python_Project\\Head_first\\C5--\u6784\u5efa\u4e00\u4e2aWeb\u5e94\u7528\\webapp\\vsearch4web.py \nTraceback (most recent call last):\n  File \"D:\\Python_Project\\Head_first\\C5--\u6784\u5efa\u4e00\u4e2aWeb\u5e94\u7528\\webapp\\vsearch4web.py\", line 1, in &lt;module>\n    from flask import Flask,render_template\n  File \"D:\\Python_Project\\Head_first\\venv\\lib\\site-packages\\flask\\__init__.py\", line 6, in &lt;module>\n    from . import json as json\n  File \"D:\\Python_Project\\Head_first\\venv\\lib\\site-packages\\flask\\json\\__init__.py\", line 9, in &lt;module>\n    from jinja2.utils import htmlsafe_json_dumps as _jinja_htmlsafe_dumps\n  File \"D:\\Python_Project\\Head_first\\venv\\lib\\site-packages\\jinja2\\__init__.py\", line 8, in &lt;module>\n    from .environment import Environment\n  File \"D:\\Python_Project\\Head_first\\venv\\lib\\site-packages\\jinja2\\environment.py\", line 16, in &lt;module>\n    from . import nodes\n  File \"D:\\Python_Project\\Head_first\\venv\\lib\\site-packages\\jinja2\\nodes.py\", line 1199, in &lt;module>\n    def _failing_new(*args: t.Any, **kwargs: t.Any) -> t.NoReturn:\nAttributeError: module 'typing' has no attribute 'NoReturn'<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b9e\u5728\u96be\u5f97\u6298\u817e\u4e86\uff0c\u5220\u9664\u4ee53.6\u7248\u672c\u4e3a\u57fa\u7840\u7684python\u865a\u62df\u73af\u5883\uff0c\u91cd\u65b0\u5f04\u4e863.10\u7684\u865a\u62df\u73af\u5883<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u77ac\u95f4\u89e3\u51b3<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u80cc\u666f\uff1a\u4f7f\u7528python3.6\u8001\u7248\u672c\uff0c\u6309\u7167\u5982\u4e0b\u4f9d\u8d56\uff0cflask\u65e0\u6cd5\u8fd0\u884c \u5982\u4e0b\u4e3arequirements.txt  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-500","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/www.chan.ink\/index.php\/wp-json\/wp\/v2\/posts\/500","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.chan.ink\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.chan.ink\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.chan.ink\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.chan.ink\/index.php\/wp-json\/wp\/v2\/comments?post=500"}],"version-history":[{"count":1,"href":"http:\/\/www.chan.ink\/index.php\/wp-json\/wp\/v2\/posts\/500\/revisions"}],"predecessor-version":[{"id":501,"href":"http:\/\/www.chan.ink\/index.php\/wp-json\/wp\/v2\/posts\/500\/revisions\/501"}],"wp:attachment":[{"href":"http:\/\/www.chan.ink\/index.php\/wp-json\/wp\/v2\/media?parent=500"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.chan.ink\/index.php\/wp-json\/wp\/v2\/categories?post=500"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.chan.ink\/index.php\/wp-json\/wp\/v2\/tags?post=500"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}