I have my scripts folder set up in user preferences and in my path, the script is saved to that folder, but when I call it…

Forum Archive I have my scripts folder set up in user preferences and in my path, the script is saved to that folder, but when I call it…

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #4923
    Joseph Cotter
    Participant

      I have my scripts folder set up in user preferences and in my path, the script is saved to that folder, but when I call it, I’m getting “no module named…” I’ve checked the path on the command line and it is correct, as is the scripts input on the files tab of user preferences. I’ve restarted the computer since setting all up, verified settings and still getting error. Any ideas what else might be causing it?

      #23224
      Joseph Cotter
      Participant

        Luckily there’s a Blender Discus coders forum… had done a bit of research and still was stuck… after a bit of back and forth in the forum the answer was…

        >>>import sys
        >>> >>>sys.path.append(r’drive:\path’)

        and my scripts were now visible. Adding the path to the user preferences didn’t do it (I don’t know why still) and adding it to the OS path variable didn’t either. I’m now looking for how to persist the setting as it gets wiped out upon reboot/separate instance.

        #23225
        Joseph Cotter
        Participant

          Note I am using a custom script folder instead of the default one that is buried 5 folder deep in a hidden user data folder

        Viewing 3 posts - 1 through 3 (of 3 total)
        • The topic ‘I have my scripts folder set up in user preferences and in my path, the script is saved to that folder, but when I call it…’ is closed to new replies.