加载中
安装scrapy时报错:ERROR: Command errored out with exit status 1: .....................

在cmd命令行通过--->"pip install scrapy -i https://pypi.douban.com/simple" 安装scrapy时报错: 解决方案: 需要安装依赖Twisted(http://www.lfd.uci.edu/~gohlke/pythonlibs/#twisted ...

01/27 15:55
243
Mongodb启动错误:The ".mongorc.js" file located in your home folder could not be.....

安装配置好mongodb后,启动客户端时,出现异常: long@long-virtual-machine:~$ mongo MongoDB shell version v4.4.3 connecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gss...

python命令行执行进程管理器时:can't find command。。。

当我在Xshell终端中远程启动supervisorctl 时,进程却没有启动起来。 [python@xxxx-web scripts]$ supervisorctl im FATAL can't find command '/home/python/scripts/im.sh'......

2020/12/27 09:06
81
Flask项目使用Socketio时:(ValueError: signal only works in main thread)

(文档参考:https://www.cnblogs.com/sewen-H/p/13615823.html) 写项目时,需要给Flask项目接入socketio模块,结果运行后访问任意网页都会报错(ValueError: signal only works in main t...

2020/12/26 14:05
493
Python报错:SyntaxError: Non-ASCII character '\xe5' ....

Python命令行运行代码,报错: SyntaxError: Non-ASCII character '\xe5' in file server.py on line 14, but no encoding declared; see http://www.python.org/peps/pep-0263.html for det...

2020/12/23 09:49
245
RuntimeError: Working outside of application context.

运行一段Python程序时 报错: 错误内容:运行超时-->Working outside of applicat context 所以可以尝试手动给问题代码添加 上下文环境: (app.app_context()是一个上下文表达式,它返回了一个...

2020/12/17 09:19
1.5K
FastDFS客户端实现文件存储时,报错raise DataError(errmsg + '(uploading)')

使用shell进入Python的交互环境,测试fastdfs是否连接成功时,报错raise DataError(errmsg + '(uploading)'): >>> from fdfs_client.client import Fdfs_client, get_tracker_conf >>> tra...

2020/10/30 15:54
251
Python新建modle迁移时报错:django.db.migrations.exceptions.InconsistentMigrationHistory

python迁移新建的model类时(python manage.py makemigrations ),报错: django.db.migrations.exceptions.InconsistentMigrationHistory: Migration users.0003_user_default_address is...

2020/10/30 10:55
5.5K
dpkg:错误:另外一个进程已经为 dpkg frontend 加锁

虚拟机Ubuntu中出现 (dpkg:错误:另外一个进程已经为 dpkg frontend 加锁) 解决办法: sudo rm -rf /var/lib/dpkg/lock

2020/10/30 07:13
5.3K
ModuleNotFoundError: No module named 'utils'

自定义的model继承Utils中定义的一个baseModel,迁移文件时,报错 ModuleNotFoundError: No module named 'utils' 检查确实是有utils文件的 所以尝试查询导包路径是否有问题 setting中 # 查询...

2020/10/26 12:27
1.1W
Pycham中查看数据库尝试连接时:Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezone'。。

Pycham中查看数据库尝试连接时报错( 服务器返回无效时区 ): Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezone' property manually. 尝时解决: 1.检查mys...

2020/10/19 13:24
301
mysql 创建用户时: ERROR 1396 (HY000): Operation CREATE USER failed for 'luo'@'%'

数据库创建用户时: mysql> create user luo identified by '123456'; ERROR 1396 (HY000): Operation CREATE USER failed for 'luo'@'%' 之前创建了用户’luo‘,没有删除,所以出现了异常,...

2020/10/19 13:03
873
Requested setting INSTALLED_APPS, but settings are not configured. .....DJANGO_SETTINGS_MODULE.....

Python项目异常(请求设置已安装的应用程序,但未配置设置。在访问设置之前,您必须定义环境变量DJANGO设置模块,或者调用SETTINGS .configure()。): Requested setting INSTALLED_APPS, ...

2020/10/18 21:50
8.9K
Django模板导入mysql时 -----(ImproperlyConfigured)异常

修改Django数据库为mysql时报错: 异常: File "D:\pythonWorkEnvs\meiduo_mall\lib\site-packages\django\db\backends\mysql\base.py", line 36, in <module> raise ImproperlyConfigured('...

使用jinjia2时报错--(admin.E403)

引入Jinja2引擎时,报异常。 异常:ERRORS: ?: (admin.E403) A 'django.template.backends.django.DjangoTemplates' instance must be configured in TEMPLATES in order to use the admin ...

2020/10/18 16:21
975

没有更多内容

加载失败,请刷新页面

没有更多内容

返回顶部
顶部