I'm trying to compile a Python 2.7 script that imports the following packages:
import easygui as EG
import numpy as np
import pandas
from skimage import data
from skimage import measure
import cv2
import matplotlib.pyplot as plt
from matplotlib.widgets import Button
import ntpath
import os
import time
# Packages for progress bar
import sys
from PyQt4.QtGui import *
from PyQt4.QtCore import *
from PyQt4.QtCore import pyqtSlot,SIGNAL,SLOT
- easygui
- numpy
- pandas
- skimage
- opencv (cv2)
- matplotlib
- numpy
- ntpath
- os
- time
- sys
- PyQt4.QtGui
- PyQt4.QtCore
All of my sub-functions are in the one "GUI.py" script, and runs perfectly when I use the normal IDE, but I can't seem to get it to compile properly.
I have tried to use cx_freeze as described here, and pyInstaller through what was described here. Both did compile and a "GUI.exe" file was made, but it did not work when I tried to run it.
If anyone has any suggestions, I would greatly appreciate it.
I'm using Python 2.7 Win 64 and I use Anaconda 2.