I have tried to tranform the PYMT example into the executable file under windows with py2exe, in order to use it on other computer. For example: I use the setup.py file as follows:
setup.py
from distutils.core import setup import py2exe
setup(name='video', version='1.0.0.1', author='pyMT', data_files=[('', ['softboy.avi'])], windows=[{'script':'video.py'}])
print "---Done---"
Then as running the video.exe file under dist folder, I have a problem. The error is as follow:
[INFO ] PyMT v0.5.0b4-dev [WARNING ] [Core ] Accelerate module not available <No module named c_accelerate> [INFO ] [Logger ] Record log in C:\Users\wanglc/.pymt/logs\pymt_10-07-24_22.txt [WARNING ] [Core ] Execute "python setup.py build_ext --inplace" Traceback (most recent call last): File "VideoPlayer.py", line 1, in <module> File "pymt__init__.pyc", line 145, in <module> File "pymt\texture.pyc", line 11, in <module> File "OpenGL\GL__init__.pyc", line 2, in <module> File "OpenGL\raw\GL__init__.pyc", line 6, in <module> File "OpenGL\raw\GL\constants.pyc", line 7, in <module> File "OpenGL\platform__init__.pyc", line 36, in <module> File "OpenGL\platform__init__.pyc", line 27, in _load File "OpenGL\plugins.pyc", line 14, in load File "OpenGL\plugins.pyc", line 28, in importByName ImportError: No module named win32
What does the win32 module refer to? Could you give me any advice and help? Thanks a lot!!!
Comment #1
Posted on Jul 27, 2010 by Helpful Oxok....
Comment #2
Posted on Jul 27, 2010 by Quick BirdPlease be patient. We can't always immediately respond to issues, but please be assured that we do take all issues into account.
In order to run a PyMT app on another computer without installing PyMT, its dependencies and Python, we intend to provide a portable version of PyMT that you will be able to use for that. However, it is not finished yet and we're currently concentrating on the 0.5 release which is due very soon. I hope that we will get a windows version of portable PyMT done as well, though. As to your specific issue I am not too sure what the problem is. I suggest you wait for the portable pymt.
Thanks and again, we're just humans. :-)
Comment #3
Posted on Jul 28, 2010 by Helpful Ox:)
Comment #4
Posted on Aug 19, 2010 by Happy Camel(No comment was entered for this change.)
Comment #5
Posted on Aug 21, 2010 by Happy Birdportable version is done, and can be used on computer without python/pymt installed.
Do we want a script to make a portable pymt app? make a portable pymt package, include user app, and create script that makes it launch the users app when double clicked.
Can be easy to generate with pymt portable, but application size can become very large about 170MB for a portable package + user application and resources. but can be nice to have maybe
Status: Accepted
Labels:
Type-Enhancement