Skip to content

WangYoudian/Data-Mining

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data-Mining

This is the assignment for Data Mining Project

About

Library

cx_Freeze, random, time

To run this exe

Below the "build" folder, find the Apriori.exe, download with the python36.dll, and double click.

Release

version 0.2

2018/6/7

Today I solved the problem about py2exe/cx_Freeze/pyinstaller. Before solving it finally, I tried different methods and websites, they are:
1.py2exe
It needs to bundle some dll files with you exe. I'll take it as liscence, apparently, with good luck, you can draw you foot on it somewhere in your computer. 'Cause the microsoft liscence is prevailing
One thing I need to warn, py2exe packages is not so friendly to the newst version for python, see SorceForge. There is only 2.7 version available. Therefore, there is a guy in the first website suggested using Cpython to get a better experience in deving.
2.pyinstaller
And when you want to run you result. You need to go to dist directory(which means distributable and contains the supporting files) to find the .exe.
3.cx_Freeze
The good thing about this package is that when you run the setup.py, better put the script itself in the same directory with python.exe.
I don't know why, but it seems to be explained on stack-over-flow
The project's name, will just be the same as name below

setup(
    name = "hello",
    options = options,
    version = "0.0",
    description = 'This trail I hope it will work!',
    executables = executables
)

Actually, myself got this traceback:

*** WARNING *** unable to create version resource
install pywin32 extensions first
writing zip file build\exe.win-amd64-3.6\lib\library.zip
执行python setup.py build程序的报错

The second time when I run the PowerShell using Shift+Right Click, it went away!

2018/6/11

Based on what had been done 4 days ago, the runtime0.py state the Console I/O of the algorithm, which is like below: Console Output Content
More details, see in the report.

About

This is the assignment for Data Mining Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages