|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Heloooooo to all,
I am really new to python and also to py2exe. I have been working with python since few days. I am trying to create stream.exe file from stream.py file. Stream.py file imports module using this syntex "from import libflow *" and use functions which are defined in libflow module. When i used py2exe to create stream.exe ,it creates streams .exe file but atlast gives error message that '[libflow]' unable to locate this module. When i used stream.exe it is not working properly. My setup script, stream.py file and all other necessary files are in same folder. What i shoud use to make stream.exe working properly? My setup.py file is from distutils.core import setup import py2exe setup(console=["stream.py"]) I tried every possible ways, which i found on internet. But no one worked. Please anybody can send me some referencce or solution example for my problem. Thanks in advance. DevHims |
|
#2
|
||||
|
||||
|
I think the problem is that your libflow isnt in the standard library to import (python23/lib or python23/lib/site-packages) so when you try to import it,python can't find the specified module.Try making sure the module is in one of those directories then try to compile your script again.
__________________
It is not important if the glass is half full or half empty.What is important,is who has been drinking from MY glass?!?!? |
|
#3
|
|||
|
|||
|
Hiii,
I tried to copy libFLow module in python23/lib and also to python23/lib/site-packages. But it is giving same error." '[libFLow]' appear to be missing. I do not know what is problem. Please anybody help me.!!!!! Thanks. DevHims |
|
#4
|
||||
|
||||
|
"from import libflow *"
should be "from libflow import *" Is the program working without using py2exe? Did you install libflow yourself? Where do you think it is located? c:\python23\python stream.py will run the program without using py2exe.
__________________
*** Experimental Python Markup CGI V2 *** |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Python Programming > py2Exe problem? Help needed please? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|