在Django项目上安装extdirect时出现问题

2024-10-06 04:28:45 发布

您现在位置:Python中文网/ 问答频道 /正文

我在python3.6中安装了django项目,并希望使用extjs6进行服务器和客户端交互。你知道吗

我以用户“k0smita”-https://www.sencha.com/forum/showthread.php?130149-Samples-Examples-for-ExtJS-4-0-and-Django写的一篇文章为基础。你知道吗

在创建和配置django项目之后,我使用pycharm添加了extdirect.django包。 在设置.py文件,已安装\已添加应用程序'extdirect.django文件,启动应用程序时,首先会产生一个错误

module is not installed 'decorators'.

为了解决这个问题,我安装了decorators包,现在出现了一个错误:

ImportError: can not import name 'remoting'.

在要求.txt我有以下文件:

decorators == 0.1.1
Django == 1.11.15
extdirect == 0.4
extdirect.django == 0.3
pytz == 2018.5

为什么在我的项目上安装decorators包时会出现错误“ImportError:cannotimport name'remoting”?你知道吗


Tags: 文件项目djangoname服务器decorators应用程序客户端