[Bf-python] Re: Can't use Python sets in Blender 2.40
Tron Thomas
tron.thomas at verizon.net
Sat Dec 24 04:19:00 CET 2005
Actually I realized I wrote and tested my original exporter on Mac OS X
so I never knew if sets worked on Windows for version 2.37.
I discovered that the sets Python module still work fine on Blender 2.40
for Mac OS X. I don't know why it doesn't work on Windows.
Also I discovered I made a mistake in my script. It should be:
import sets
set = sets.Set()
Tron Thomas wrote:
> I installed Blender 2.40 on Windows XP. I get the following output in
> the Blender command shell when starting up the program:
> Using Python version 2.4
> 'import site' failed; use -v for traceback
>
> I also get the following output:
> Traceback (most recent call last):
> File "Text.001", line 1, in ?
> ImportError: No module named sets
>
> When I try to execute the following Python script:
> import sets
> set = sets.set()
>
> I want to use sets in my export script ensure unique key frames. Sets
> worked fine in Blender 2.37. What would cause it to break in the new
> version?
>
>
More information about the Bf-python
mailing list