How to get Blender .NIF Scripts to work.

Post » Tue Apr 05, 2011 7:41 pm

I have Python 2.6, I have Pyffi, and I have Blender 2.6b. Why is it not recognizing that I have Python and Pyffi?

http://img262.imageshack.us/img262/5843/wtfol.png

(Image shows what the console says when trying to import .NIFs, as well as my Python and Pyffi Paths)
User avatar
Laura Elizabeth
 
Posts: 3454
Joined: Wed Oct 11, 2006 7:34 pm

Post » Tue Apr 05, 2011 10:08 am

According to the screenie, the root of your woes is that Python itself can not be found. In start menu, right click on "My Computer", select "Properties" and click on the advanced tab:
you should see a variable called "PYTHONPATH" and the value should be the path to the directory you installed Python to. My guess is, you don't find it. So in the "System variables", click new and use "PYTHONPATH" as the variables name and the (full) path to your Python install without the trailing "\".
In your Python folder, there is a directory called "Lib". There is a folder "site-packages" inside it: is this where "PyFFI" is installed? if not, uninstall PyFFI, set your Python-path variable up as described above and re-install PyFFI using the windows installer: as it reads the environment variable when installing PyFFI, it should end up doing the right thing.
Good luck, soldier :gun:
User avatar
Julie Serebrekoff
 
Posts: 3359
Joined: Sun Dec 24, 2006 4:41 am

Post » Tue Apr 05, 2011 5:45 am

PyFFI and such took me maybe a dozen uninstall/reinstall variations even with PYTHONPATH, yet I think you need to restart windows after the path change. I tried many locations and am not even sure I have anything more then Niftools now, but yay.

64 bit Vista too
User avatar
Ana
 
Posts: 3445
Joined: Sat Jul 01, 2006 4:29 am

Post » Tue Apr 05, 2011 2:23 pm

I got it to find Python, I press import .NIF and i find one I want, when I press OK the open screen blinks and then nothing imports into blender. It used to work before this comp. crashed. IDR how I had it working a long time ago.
User avatar
Lillian Cawfield
 
Posts: 3387
Joined: Thu Nov 30, 2006 6:22 pm


Return to III - Morrowind