cx-freeze

Missing “six” module for astropy after using cx_freeze/py2exe

空扰寡人 提交于 2020-01-15 07:35:30
问题 I was trying to convert program written in python 3 to .exe using cx_freeze and py2exe. But after converting and running program i get the following error: Traceback (most recent call last): File "astroConverter.py", line 8, in <module> File "C:\Users\Konrad\PycharmProjects\astroConverter\mainwindow.py", line 2, in <module> from widgets.widgets import MainMenu, Toolbar, TextField File "C:\Users\Konrad\PycharmProjects\astroConverter\widgets\widgets.py", line 1, in <module> from widgets.menus

Using cx_freeze with PyQT5 and Python 3 on MacOSX

痞子三分冷 提交于 2020-01-14 19:26:31
问题 I'm trying to use cx_freeze 4.3.3 on a MacOS running 10.9.2 on a very simple PyQt5 script with Python 3.3. No errors are returned and the .app is output. However when running the .app from terminal I obtain the error: LSOpenURLsWithRole() failed with error -10810 which according to Apple's documentation is "Unknown Error". The very simple code I try to run (PyQt5app.py) is: import sys from PyQt5.QtWidgets import QApplication, QDialog app = QApplication(sys.argv) form = QDialog() form.show()

Cx_Freeze and Plotly

孤人 提交于 2020-01-11 14:07:43
问题 I am trying to build an exe of an application that uses plotly using cx_freeze. I have previously built the application using matplotlib but have switched the graphing over to plotly. I can build the application but when I try to plot, I get the following error. url = py.plot(fig, filename='pandas-box-plot') File "C:\Python34\lib\site-packages\plotly\offline\offline.py", line 284, in p lot get_plotlyjs(), File "C:\Python34\lib\site-packages\plotly\offline\offline.py", line 48, in ge t

cx_Freeze doesn't print to console

僤鯓⒐⒋嵵緔 提交于 2020-01-06 03:24:06
问题 I have an application that prints a few things to the console upon running. But as a standalone the executable doesn't print anything to the console? The setup.py script looks like this: import sys from cx_Freeze import setup, Executable setup( name = "My App", version = "1.0", options = { "build_exe" : { "include_files": ['MyImgs'] }, }, executables = [Executable("Main.py", base = "Win32GUI")] ) On the command line I run the following: py setup.py build I then find the executable and run:

cx_Freeze ModuleNotFoundError: No module named 'codecs'

二次信任 提交于 2020-01-05 12:58:14
问题 Trying to convert a .py file into a .exe when trying to run the .exe file in the exe.win32-3.6 folder I get the following error: C:\Users\Aktan\Desktop\build\exe.win32-3.6>StatisticsCalculator.exe Fatal Python error: Py_Initialize: unable to load the file system codec Traceback (most recent call last): File "C:\Users\Aktan\AppData\Local\Programs\Python\Python36-32\lib\encodings\__init__.py", line 31, in <module> ModuleNotFoundError: No module named 'codecs' here is my setup.py code: import cx

cx_Freeze ModuleNotFoundError: No module named 'codecs'

六月ゝ 毕业季﹏ 提交于 2020-01-05 12:58:06
问题 Trying to convert a .py file into a .exe when trying to run the .exe file in the exe.win32-3.6 folder I get the following error: C:\Users\Aktan\Desktop\build\exe.win32-3.6>StatisticsCalculator.exe Fatal Python error: Py_Initialize: unable to load the file system codec Traceback (most recent call last): File "C:\Users\Aktan\AppData\Local\Programs\Python\Python36-32\lib\encodings\__init__.py", line 31, in <module> ModuleNotFoundError: No module named 'codecs' here is my setup.py code: import cx

What's needed to get BeautifulSoup4+lxml to work with cx_freeze?

怎甘沉沦 提交于 2020-01-05 08:51:50
问题 Summary: I have a wxPython/bs4 app that I'm building into an exe with cx_freeze. There build succeeds with no errors, but trying to run the EXE results a FeatureNotFound error from BeautifulSoup4. It's complaining that I don't have my lxml library installed. I've since stripped the program down to it's minimal state and still get the error. Has anyone else had success building a bs4 app with cx_freeze? Please take a look at the details below and let me know of any ideas you may have. Thanks,

What's needed to get BeautifulSoup4+lxml to work with cx_freeze?

强颜欢笑 提交于 2020-01-05 08:51:09
问题 Summary: I have a wxPython/bs4 app that I'm building into an exe with cx_freeze. There build succeeds with no errors, but trying to run the EXE results a FeatureNotFound error from BeautifulSoup4. It's complaining that I don't have my lxml library installed. I've since stripped the program down to it's minimal state and still get the error. Has anyone else had success building a bs4 app with cx_freeze? Please take a look at the details below and let me know of any ideas you may have. Thanks,

cx_Freeze build error?

一曲冷凌霜 提交于 2020-01-05 08:01:06
问题 I am trying to create a binary from a python,flask and boto3 app. I am having trouble running the pip install cx_Freeze command too work. I am getting the following error : It seems to be not fetching the right system libraries. Also, can anyone suggest any tools to package python apps into binaries? Failed building wheel for cx-Freeze Running setup.py clean for cx-Freeze Failed to build cx-Freeze Installing collected packages: cx-Freeze Running setup.py install for cx-Freeze ... error

cx_Freeze/ldap: ImportError: DLL Load Failed %1 is not a valid Win32 application

折月煮酒 提交于 2020-01-04 06:50:45
问题 I am using cx_Freeze to convert my python program to an exe. It all runs fine when it is a .py however when I come to run the exe, I get the following traceback; Traceback (most recent call last): File "UCA_Starter.py", line 45, in <module> File "UCA_Starter.py", line 39, in main File "C:\Python26\Scripts\ClientSelector.py", line 20, in <module> import login_d File "C:\Python26\Scripts\login_d.py", line 6, in <module> import ad_auth File "C:\Python26\Scripts\ad_auth.py", line 1, in <module>