Python Scrip Error Console says "No Module named primstar"

Hi, Very Noob at Blender. Using Blender 2.49b, Python 2.6.2, and Primstar 1.0.0 . I installed Primstar into Blenders scripts folder. The Secondlife/Sculptie menus are now on my Blender menu options. Whenever I try to use the Primstar options I get Python scrip error: check console. The console states No module named primstar. I use Windows Vista, however I have set Blender to run program as an administrator & set the compatibility mode for Windows XP (Service Pack 2), as Blender would not work correctly in Vista.Any help would be much appreciated. 

Manny's picture

hey Summerwish up-dated

Try this:

1) Delete your previous Primstar installation.

2) Download Primstar 1.0.0

3) Unzip the archiver.

4) Copy the "primstar" folder. (that's the name "primstar")

5) Paste the "primstar" folder in your scripts directory.

6) Open Blender: Cntrl+U to save default settings. (I'm guessing you already know how to set the "User defined dir for scripts" which should point to your blender scripts directory, where the folder "primstar" should be)

Maybe I'm wrong, but I think you are copying the files inside "primstar" folder instead the whole "primstar" folder. So that's why there is no "primstar" module.

UP-DATED:

I was just reading your comment, yeah, was close enough up there, you are copying the folder "primstar_1.0.0" instead the folder "primstar".

"C:\Program Files\Blender Foundation\Blender\.blender\scripts\primstar_1.0.0\primstar\" <-- WRONG.

"C:\Program Files\Blender Foundation\Blender\.blender\scripts\primstar\" <-- CORRECT.

NOTE: This is my last comment for a while, help each other people, may the source be with you all! Davie

EUREKA! Problem solved.

EUREKA! Problem solved. Manny, Thank You so much for taking the time to help this Noob, MUCH APPRECIATED!

module not found

OS: debian sid python: 2.5.4-9 blender: 2.49.2~dfsg-1+b1 primstar 1.0.0 on trying add mesh, sculptmesh: error, check console, output is: Traceback (most recent call last): File "", line 1, in File "/home/soundbox/blender_scripts/primstar/add_mesh_sculpt_mesh.py", line 48, in from primstar import sculpty File "/home/soundbox/blender_scripts/primstar/sculpty.py", line 36, in from primstar.uv_tools import add_map_uv, snap_to_pixels File "/home/soundbox/blender_scripts/primstar/uv_tools.py", line 44, in from uvcalc_follow_active_coords import extend ImportError: No module named uvcalc_follow_active_coords

I found out that in my case

I found out that in my case the script uvcalc_follow_active_coords.py was simply missing in the primstar 1.0.0 package was simply missing. so i found it here: http://www.koders.com/python/fid57A45B0E4C5514F3874BF156A0C4169BB8377D9D... and just copied and pasted it into a new textfile and saved it as uvcalc_follow_active_coords.py in the primstar folder (ignore the encoding complaint (for linux that is)) and now all seems to work fine for me.

Domino Marama's picture

uvcalc_follow_active_coords.py

This is one of the standard scripts that come with Blender, it should be in the Blender application scripts directory.

Manny's picture

Ubuntu10.4+py2.6.5

Was reading in the "recent comments" somebody asking this:

Q: ...My Blender version is 2.49b --- (Python - 2.6.5) is this the problem ?...

A: Probably NOT, a couple days ago installed Primstar 1.0.0 on Ubuntu 10.4 with python 2.6.5, it works smooth and clean.

My procedure:

Innocent Downloaded and installed Blender 2.49b using Synaptic.

1) Downloaded and installed python-tk using Synaptic.

2) Run Blender application to test if it was working correctly, it did.

3) Downloaded Primstar 1.0.0 & unzipped.

4) Via terminal changed the owner of '/home/manny/.blender/scripts/blender' & '/home/manny/.blender/scripts/bpymodules' from 'root' to 'manny' using: sudo chown -R <new_owner><dir_here>

5) copied the 'primstar' folder inside '/home/manny/.blender/scripts/blender' <-- there.

6) Run Blender application again, defined my scripts' directory grabbed up the 'user's preferece window' and hit Cntrl+U to save the changes.

This time I made my life even much more easier installing primstar in the unpacked scripts default directory linked to '/home/manny/.blender/scripts/blender' <-- the scripts are here by default, at least in Ubuntu 9.x & 10.4, SHOULDN'T be there but, hey, happens... Last time I think moved all the scripts to it's proper directory 'scripts' but not this time.

That's all.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <p> <pre>
  • Lines and paragraphs break automatically.
  • Project issue numbers (ex. [#12345]) turn into links automatically.
  • Textual smileys will be replaced with graphical ones.

More information about formatting options