Hi Guys,
Thanks for the response, I have been trying to figure this out for a while with
very little luck, I found a few similar problems on various web sites but none
with any solution.
I’m using windows 10, Python 2.7 and cx_freeze 4.3.4
If I try just cxfreeze hello.py --target-dir dist I get the error “TypeError:
can only concatenate list (not "NoneType") to list”
If I use the PYQT setup from the examples –
import sys
from cx_Freeze import setup, Executable
base = None
if sys.platform == 'win32':
base = 'Win32GUI'
options = {
'build_exe': {
'includes': 'atexit'
}
}
executables = [
Executable('PDF1.py', base=base)
]
setup(name='simple_PyQt4',
version='0.1',
description='Sample cx_Freeze PyQt4 script',
options=options,
executables=executables
)
I get the error cx_Freeze.freezer.ConfigError: no file named sys (for module
collections.sys)
Regards
Optimistic
From: Ian Bell [mailto:ian.h.b...@gmail.com]
Sent: 04 February 2016 06:13
To: primary discussion list for use and development of cx_Freeze
Subject: Re: [cx-freeze-users] cx_freeze errors
Also, providing the setup.py you used is helpful.
On Wed, Feb 3, 2016 at 6:49 PM, Anthony Tuininga <anthony.tuini...@gmail.com>
wrote:
Hi Steve (or should I say Annoyed?) :-)
Could you provide some insight on what platform you are trying to use? What
version of cx_Freeze you are trying to use? And what errors you are getting
when you run the resulting executable? Without that information we won't be
able to help you out! Thanks.
Anthony
On Wed, Feb 3, 2016 at 4:54 PM, Steve <stev...@btinternet.com> wrote:
Hi guys,
I get nothing but errors from trying to fun this, cx freeze can not process
the imports below. Mainly matlibpot and PyQt4.
import slate
import re
#import string
import time
import datetime
import sys
from PDF_1_ui import Ui_MainWindow
from PyQt4 import QtCore, QtGui, uic
import numpy as np
from matplotlib import pyplot as plt
from matplotlib import dates
from matplotlib import style
from matplotlib.ticker import FuncFormatter as ff
from PyQt4.QtGui import (QApplication, QTabWidget, QWidget, QStyle,
QStyleFactory, QPalette, QColor)
from PyQt4.QtCore import (Qt)
import os
Is there some kind of fix for this of is CX freeze not up to the job ?
Regards
Annoyed
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151
<http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140> &iu=/4140
_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151
<http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140> &iu=/4140
_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users