[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swftools-common] pyswf refuses to work
From: |
Seth Birkholz |
Subject: |
Re: [Swftools-common] pyswf refuses to work |
Date: |
Wed, 7 Sep 2005 11:51:51 -0700 |
I dont know what the scoop is on windows, but on linux I had to manually copy
header files and SWF.so to system directories:
cd <path to >swftools-0.6.3/lib/python
cp *.h /usr/include
cp SWF.so /usr/lib/python2.4
I also had to reboot to get the system to recognize these files.
Also, I just discovered a great site that outlines methods and functions that
Python has available to it:
http://www.half-serious.com/swf/format/index.html
On Wed, 7 Sep 2005 19:43:19 +0200
"Bernd Stein" <address@hidden> wrote:
> Hello!
>
> First of all: Thanks for the SWFTOOLS, they are a great gift to the web and
> flash community!
>
> Now my problem:
> I cannot import the SWF module into Python. This is what I did:
>
> 1. I installed the SWFTOOLS to C:\swftools.
> 2. I copied the SWF.dll from the python folder of the installation to
> C:\Python 22\DLLs.
> 3. I made sure, that the PYTHONPATH is set correctly and that Python has a
> look in the folder above at startup time.
>
> Now, when I try
> >> import SWF
> in the Python commandline, I get this message:
> "Traceback (most recent call last):
> File "<interactive input>", line 1, in ?
> ImportError: DLL load failed: Ein der für die Ausführung dieser Anwendung
> notwendige Bibliothekdateien kann nicht gefunden werden."(Translation in my
> words: A library which is necessary for execution cannot be found.)
>
> What is going wrong? Do I need a newer Python version? Do I need some other
> Python packages?
> HELP!
>
> Cheers
> Bernd Stein
>
>
>
>
> _______________________________________________
> Swftools-common mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/swftools-common
>
--
Seth Birkholz
831 332-0838
address@hidden