cx_Freeze:主脚本中的Python错误

时间:2016-07-04 11:53:06

标签: python django executable pyinstaller cx-freeze

我是python和django的初学者。即使在http://www.lfd.uci.edu/~gohlke/pythonlibs/#cx_freeze安装cx_freeze之后,此错误仍然存​​在 我正在尝试制作一个可执行文件,我想通过它运行我的服务器,我通常这样做:

manage.py runserver

我目前正在使用命令:

setup.py build

我已经尝试过了:

pyinstaller --name=mysite myproject_dir/manage.py

我的setup.py文件包含

import sys
from distutils.core import setup
from cx_Freeze import setup, Executable
setup(
       name = "Management System",
       version = "1.0",
       description = "A Database Management System",
       py_modules=['virtualenv'],
       executables = [Executable("manage.py", base = "Win32GUI")])

我也试过py2exe,它不起作用。您也可以建议阅读有关此知识的内容。

Here is the image of error that keeps appearing on running the exe file

如果我使用此命令:     Barcode.exe runserver 还有一个错误

WindowsError: [Error 3] The system cannot find the path specified:'C:\\Users\\D ell\\AppData\\Local\\Temp\\_MEI85~1\\Entry\\migrations/*.*'

0 个答案:

没有答案