Python problem with levelator in fiesty
Moderators: snarkout, Patrick, dann
Python problem with levelator in fiesty
ok, perhaps maybe someone in here can provide an answer. I cannot run gigavox levelator in fiesty. Here is the error message that I get:
File "main.py", line 1, in <module>
import gui
zipimport.ZipImportError: can't find module 'gui'
gui is a module unzipped in the .levelator directory
File "main.py", line 1, in <module>
import gui
zipimport.ZipImportError: can't find module 'gui'
gui is a module unzipped in the .levelator directory
I doubt I'm the best one to answer this, but that never stops me from trying...
Python has its modules in paths listed in the sys.path() method, so in this case I would just create a symbolic link from gui module to one of the paths in python path, like "/usr/lib/python2.4" depending on what version you have.
There's probably someone here with a better way, though. You could also add the directory to sys.path, I think.
Found a post that seems to explain that:
http://mail.python.org/pipermail/python ... 19312.html
Python has its modules in paths listed in the sys.path() method, so in this case I would just create a symbolic link from gui module to one of the paths in python path, like "/usr/lib/python2.4" depending on what version you have.
There's probably someone here with a better way, though. You could also add the directory to sys.path, I think.
Found a post that seems to explain that:
http://mail.python.org/pipermail/python ... 19312.html
Vim is beautiful
No I have not fixed it yet. Unfortunately, levelator is closed source so I cannot do much to fix it. I tried setting the path, but that did not work. All I got was a magic number error. I posted to the levelator forum and someone said they will be looking into it. I suspect the new version of python (2.6) in fiesty has some changes not compatible with levelator.
Levelator is closed source, which is largely the problem. Followup posts to my query on the gigavox forums indicates that levelator is not compatible with Python version 2.6, which is what ships with Fiesty. Levelator was compiled with version 2.3. If they would provide the source, I am sure the problem would have been fixed by now.
-
hellonorman
- Posts: 267
- Joined: Wed Dec 28, 2005 11:08 pm
You should be able to install various versions of python side by side. You could install the last version that worked with levelator and just invoke it with the version of python desired.....python2.5 levelator instead of python levelator.dann wrote:Levelator is closed source, which is largely the problem. Followup posts to my query on the gigavox forums indicates that levelator is not compatible with Python version 2.6, which is what ships with Fiesty. Levelator was compiled with version 2.3. If they would provide the source, I am sure the problem would have been fixed by now.
Seems like that should work. I know it works the other way. I installed python 2.5 on systems where 2.4 was default and just ran programs with the python2.5 command.
Worth a try anyway. Good luck.
"It's not a lie, if you really believe it"
--George Costanza
--George Costanza
you will have for example:
And then create the binaries stated as python4 for 2.4 and python for 2.5
Code: Select all
/usr/lib/python2.4/
/usr/lib/python2,5/
Alexandro COLORADO