没有名为Django的模块:

2024-09-29 07:27:17 发布

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

我想在windows环境下部署我的Django项目使用:-在

Windows7 64bit
Apache2
python2.7
Django 1.8
VCforPython

在安装了所有必需的依赖项之后

我已经设置了环境变量用于:在

^{pr2}$

还有我的httpd.conf:-

<VirtualHost *:80>
        ServerName http://localhost

        WSGIScriptAlias / C:\Apache2\htdocs\project\project\wsgi.py

        <Directory "C:\Apache2\htdocs\project">
                Require all granted
        </Directory>

</VirtualHost>

但是当我试图在localhost中查看我的项目时,我得到了“没有名为Django的模块”

错过了什么??在


Tags: 项目djangoprojectlocalhost环境windows部署环境变量