无法导入快点。文件大小Python中的模块?

2024-04-29 00:09:04 发布

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

我在django1.4中使用了python2.6。我可以在python shell中导入为:

from hurry.filesize import alternative

我还可以在Django shell中导入:

^{pr2}$

但是我在同一台机器上的实际Django项目中使用它时出错了。怎么了?在


Tags: 项目djangofromimport机器shellhurryfilesize