<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>易陆发现互联网技术论坛 - Python区域</title>
    <link>https://www.bbs168x.cn/forum-81-1.html</link>
    <description>Latest 20 threads of Python区域</description>
    <copyright>Copyright(C) 易陆发现互联网技术论坛</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Wed, 08 Apr 2026 12:18:12 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://www.bbs168x.cn/static/image/common/logo_88_31.gif</url>
      <title>易陆发现互联网技术论坛</title>
      <link>https://www.bbs168x.cn/</link>
    </image>
    <item>
      <title>django.db.utils.OperationalError: (2002, &quot;Can\'t connect to server on \'192</title>
      <link>https://www.bbs168x.cn/thread-3195-1-1.html</link>
      <description><![CDATA[python manage.py runserver 0.0.0.0:8000
Watching for file changes with StatReloader
Performing system checks...

System check identified no issues (0 silenced).
Exception in thread django-main-thread:
Traceback (most recent call last):
  File \&quot;/us]]></description>
      <category>Python区域</category>
      <author>admin</author>
      <pubDate>Thu, 08 Jan 2026 00:15:54 +0000</pubDate>
    </item>
    <item>
      <title>python 与vue前后端数据交互</title>
      <link>https://www.bbs168x.cn/thread-3163-1-1.html</link>
      <description><![CDATA[有时候我们想把一个list或者dict等JSON对象传到网页的JavaScript，用JS进行处理，比如用JS将数据可视化显示到网页上，这里说两种：1，直接在视图函数中渲染一个list或者dict的内容，和网页其他部分一起显示到网页（一次性的渲染，而且是同一次请求）2，页面加载完成后， ...]]></description>
      <category>Python区域</category>
      <author>admin</author>
      <pubDate>Thu, 11 Sep 2025 01:12:01 +0000</pubDate>
    </item>
    <item>
      <title>node: /lib64/libm.so.6: version `GLIBC_2.27\' not found (required by node)</title>
      <link>https://www.bbs168x.cn/thread-3162-1-1.html</link>
      <description><![CDATA[# npm -v
node: /lib64/libm.so.6: version `GLIBC_2.27\' not found (required by node)
node: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20\' not found (required by node)
node: /lib64/libstdc++.so.6: version `CXXABI_1.3.9\' not found (required by node)
n]]></description>
      <category>Python区域</category>
      <author>admin</author>
      <pubDate>Wed, 27 Aug 2025 04:00:01 +0000</pubDate>
    </item>
    <item>
      <title>python djiango 模型检查报错IndentationError: unexpected indent  问题原因</title>
      <link>https://www.bbs168x.cn/thread-3161-1-1.html</link>
      <description><![CDATA[(Python3.10) [root@djangovue plvyou]# python manage.py check
Traceback (most recent call last):
  File \&quot;/usr/local/projects/plvyou/manage.py\&quot;, line 22, in 
    main()
  File \&quot;/usr/local/projects/plvyou/manage.py\&quot;, line 18, in main
    execute_fro]]></description>
      <category>Python区域</category>
      <author>admin</author>
      <pubDate>Thu, 21 Aug 2025 10:52:05 +0000</pubDate>
    </item>
    <item>
      <title>django 删除同步后的模块app数据同步数据</title>
      <link>https://www.bbs168x.cn/thread-3159-1-1.html</link>
      <description><![CDATA[django 删除同步后的模块app数据同步数据

(python3.8.2-vitual) C:%users\\admin\\Desktop\\deskdirectory\\trip&gt;python manage.py dbshell
Welcome to the MariaDB monitor.  Commands end with ; or \\g.
Your MariaDB connection id is 152
Server version: 11.5.1-Maria ...]]></description>
      <category>Python区域</category>
      <author>admin</author>
      <pubDate>Mon, 18 Aug 2025 01:11:58 +0000</pubDate>
    </item>
    <item>
      <title>一次python django项目数据同步异常操作，重置过程，并同步到数据库</title>
      <link>https://www.bbs168x.cn/thread-3145-1-1.html</link>
      <description><![CDATA[因调试过程中，发现有点问题，就把数据库表从其他客户端删除了，以为删除了就可以同步过去，没想到就是下面的结果。
(python3.8.2-vitual) C:%users\\admin\\Desktop\\deskdirectory\\trip&gt;python manage.py check
System check identified no issues (0 silenced).

(pytho ...]]></description>
      <category>Python区域</category>
      <author>admin</author>
      <pubDate>Fri, 18 Jul 2025 09:17:02 +0000</pubDate>
    </item>
    <item>
      <title>解决 python django 访问时accounts.models.User.DoesNotExist: User matching query does</title>
      <link>https://www.bbs168x.cn/thread-3134-1-1.html</link>
      <description><![CDATA[Internal Server Error: /accounts/user/info/
Traceback (most recent call last):
  File \&quot;C:%users\\admin\\python3.8.2-vitual\\lib\\site-packages\\django\\core\\handlers\\exception.py\&quot;, line 34, in inner
    response = get_response(request)
  File \&quot;C:]]></description>
      <category>Python区域</category>
      <author>admin</author>
      <pubDate>Wed, 21 May 2025 14:30:07 +0000</pubDate>
    </item>
    <item>
      <title>django报错 decimal.InvalidOperation: [&lt;class \'decimal.ConversionSyntax\'&gt;]</title>
      <link>https://www.bbs168x.cn/thread-3126-1-1.html</link>
      <description><![CDATA[python manage.py check
Traceback (most recent call last):
  File \&quot;manage.py\&quot;, line 21, in 
    main()
  File \&quot;manage.py\&quot;, line 17, in main
    execute_from_command_line(sys.argv)
  File \&quot;C:%users\\admin\\python3.8.2-vitual\\lib\\site-packages\\]]></description>
      <category>Python区域</category>
      <author>admin</author>
      <pubDate>Thu, 01 May 2025 00:00:00 +0000</pubDate>
    </item>
    <item>
      <title>AttributeError: type object \'datetime\' has no attribute \'datetime\'</title>
      <link>https://www.bbs168x.cn/thread-3125-1-1.html</link>
      <description><![CDATA[AttributeError: type object \'datetime\' has no attribute \'datetime\'


AttributeError: type object \'datetime\' has no attribute \'datetime\'
[28/Apr/2025 21:12:45] \&quot;GET /hello/test/filter/ HTTP/1.1\&quot; 500 69413
Internal Server Error: /hello/test/f]]></description>
      <category>Python区域</category>
      <author>admin</author>
      <pubDate>Mon, 28 Apr 2025 13:18:57 +0000</pubDate>
    </item>
    <item>
      <title>解决django.core.exceptions.ImproperlyConfigured: URL route \'article/&lt;int: mont</title>
      <link>https://www.bbs168x.cn/thread-3123-1-1.html</link>
      <description><![CDATA[Exception in thread django-main-thread:
Traceback (most recent call last):
  File \&quot;C:\\Program Files\\Python38\\lib\\threading.py\&quot;, line 932, in _bootstrap_inner
    self.run()
  File \&quot;C:\\Program Files\\Python38\\lib\\threading.py\&quot;, line 870, in]]></description>
      <category>Python区域</category>
      <author>admin</author>
      <pubDate>Sat, 19 Apr 2025 05:21:37 +0000</pubDate>
    </item>
    <item>
      <title>TypeError at /hello/world/ \'set\' object is not reversible</title>
      <link>https://www.bbs168x.cn/thread-3122-1-1.html</link>
      <description><![CDATA[TypeError at /hello/world/\'set\' object is not reversible
TypeError at /hello/world/\'set\' object is not reversibleRequest Method:]]></description>
      <category>Python区域</category>
      <author>admin</author>
<enclosure url="/forum/http://192.168.7.26:5000/hello/world/Django Version:" length="3.0.5Exception Type:" type="image/jpeg" />      <pubDate>Fri, 18 Apr 2025 13:50:10 +0000</pubDate>
    </item>
    <item>
      <title>accounts.User.avatar: (fields.E210) Cannot use ImageField because Pillow is not</title>
      <link>https://www.bbs168x.cn/thread-3118-1-1.html</link>
      <description><![CDATA[\\my_project&gt;python manage.py check
SystemCheckError: System check identified some issues:

ERRORS:
accounts.User.avatar: (fields.E210) Cannot use ImageField because Pillow is not installed.
        HINT: Get Pillow at https://pypi.org/project/Pillow]]></description>
      <category>Python区域</category>
      <author>admin</author>
      <pubDate>Sat, 12 Apr 2025 00:24:33 +0000</pubDate>
    </item>
    <item>
      <title>TemplateDoesNotExist at /hello/render/str/ 解决办法</title>
      <link>https://www.bbs168x.cn/thread-3116-1-1.html</link>
      <description><![CDATA[浏览器访问：
http://127.0.0.1:5000/hello/render/str/
结果：
TemplateDoesNotExist at /hello/render/str/
index.html
Request Method:]]></description>
      <category>Python区域</category>
      <author>admin</author>
<enclosure url="/forum/http://127.0.0.1:5000/hello/render/str/
Django Version:" length="3.0.5
Exception Type:" type="image/jpeg" />      <pubDate>Sun, 06 Apr 2025 11:33:18 +0000</pubDate>
    </item>
    <item>
      <title>开发远程桌面系统（python）</title>
      <link>https://www.bbs168x.cn/thread-3100-1-1.html</link>
      <description><![CDATA[远控流程

1.1 环境要求

本次环境使用的是python3.11+windows平台主要用的库有：图像处理库opencv，包括用来目标检测和图像处理等操作。Socket用来远程传输数据达到远程控制的效果；Threading模块用来创建多线程管理；Numpy模块用来辅助opencv对图像进行一些像素值操作 ...]]></description>
      <category>Python区域</category>
      <author>admin</author>
      <pubDate>Tue, 25 Mar 2025 00:00:00 +0000</pubDate>
    </item>
    <item>
      <title>【零基础学Python】常用的Python 算法示例代码</title>
      <link>https://www.bbs168x.cn/thread-3097-1-1.html</link>
      <description><![CDATA[【零基础学Python】常用的Python 算法示例代码



Python 常见的算法可以分为多个类别，包括排序算法、搜索算法、图算法、动态规划、递归算法等。

一、排序算法
1.冒泡排序（Bubble Sort）：
原理：冒泡排序通过重复遍历待排序的列表，比较相邻的元素并交换它们的顺序 ...]]></description>
      <category>Python区域</category>
      <author>admin</author>
      <pubDate>Fri, 21 Mar 2025 02:57:47 +0000</pubDate>
    </item>
    <item>
      <title>from forms import LoginForm, RegisterForm, UserAvatarForm ModuleNotFoundError: N</title>
      <link>https://www.bbs168x.cn/thread-2902-1-1.html</link>
      <description><![CDATA[flask.cli.NoAppException: While importing \&quot;appflask\&quot;, an ImportError was raised:

Traceback (most recent call last):
File \&quot;D:\\project\\testflask\\venv\\lib\\site-packages\\flask\\cli.py\&quot;, line 240, in locate_app
__import__(module_name)
File \&quot;D:]]></description>
      <category>Python区域</category>
      <author>admin</author>
      <pubDate>Sun, 04 Aug 2024 17:00:17 +0000</pubDate>
    </item>
    <item>
      <title>调试报错  raise RuntimeError(unbound_message) from None  RuntimeError: Working outsi</title>
      <link>https://www.bbs168x.cn/thread-2899-1-1.html</link>
      <description><![CDATA[db.create_all()
Traceback (most recent call last):
  File \&quot;F:\\Program Files\\JetBrains\\PyCharm Community Edition 2023.2.1\\plugins\\python-ce\\helpers\\pydev\\pydevconsole.py\&quot;, line 364, in runcode
    coro = func()
           ^^^^^^
  File \&quot;\&quot;,]]></description>
      <category>Python区域</category>
      <author>admin</author>
      <pubDate>Tue, 30 Jul 2024 16:02:44 +0000</pubDate>
    </item>
    <item>
      <title>调试数据库与环境问题 在pychm上调试代码出现错误from app import db ImportError: cannot import name \'d</title>
      <link>https://www.bbs168x.cn/thread-2898-1-1.html</link>
      <description><![CDATA[Traceback (most recent call last):
  File \&quot;\&quot;, line 1, in 
ImportError: cannot import name \'db\' from \'app\' (C:%users\\xxxx\\pythonProject\\venv\\lib\\site-packages\\app\\__init__.py)


遇到问题，我一直没有想过问题在哪里，为什么引入不了这个db
在python console ...]]></description>
      <category>Python区域</category>
      <author>admin</author>
      <pubDate>Mon, 29 Jul 2024 18:00:10 +0000</pubDate>
    </item>
    <item>
      <title>调试代码出现错误from app import db</title>
      <link>https://www.bbs168x.cn/thread-2896-1-1.html</link>
      <description><![CDATA[PyDev console: starting.
Python 3.8.8 (tags/v3.8.8:024d805, Feb 19 2021, 13:18:16) [MSC v.1928 64 bit (AMD64)] on win32
from app import db
Traceback (most recent call last):
  File \&quot;\&quot;, line 1, in 
  File \&quot;C:\\Program Files\\JetBrains\\PyCharm Comm]]></description>
      <category>Python区域</category>
      <author>admin</author>
      <pubDate>Mon, 29 Jul 2024 15:00:10 +0000</pubDate>
    </item>
    <item>
      <title>flask sqlalchemy 操作数据相关代码和实现方法</title>
      <link>https://www.bbs168x.cn/thread-2897-1-1.html</link>
      <description><![CDATA[1.介绍
flask用于orm操作表，一般使用flask- sqlalchemy 操作简单
一般使用flask-sqlalchemy 2.5.1
https://flask-sqlalchemy.palletsprojects.com/en/2.x/



2.安装
pip instal flask-sqlalchemy==2.5.1
pip install Flask-Migrate==2.6.0  # 迁移数据库使用


3.数据 ...]]></description>
      <category>Python区域</category>
      <author>admin</author>
      <pubDate>Sun, 28 Jul 2024 09:00:09 +0000</pubDate>
    </item>
  </channel>
</rss>