Welcome, Guest
Python Scripts for ComicRack

TOPIC: New/Other Python Extensions?

New/Other Python Extensions? 9 years 2 months ago #1920

I found a useful python extension module (pymssql) that I would like to use with the python that's included in CR, but I can't seem to figure out how (if at all possible) to import the library. I've got it installed in my local python instance, but I suspect it's got to be cyo that includes it when he's compiling the program. Any ideas for how to import this? Any other options for connecting to an MS SQL instance using the out-of-the-box options with CR?
The administrator has disabled public write access.

Re:New/Other Python Extensions? 9 years 2 months ago #1921

  • cYo
  • cYo's Avatar
  • Offline
  • Moderator
  • Posts: 3476
  • Thank you received: 675
  • Karma: 181
try to set the path to the library Preferences/Advanced/Scripts/Paths in ComicRack
The administrator has disabled public write access.

Re:New/Other Python Extensions? 9 years 2 months ago #1929

Nope, no good. Still getting the error "No module named _mssql". Added all the folders I could find that contained the library, etc.:
C:\Python25\Lib;C:\Python25\Lib\site-packages
Did a file search for mssql or sql in the C:\Python25 folder and only those two came up.
The administrator has disabled public write access.

Re:New/Other Python Extensions? 9 years 2 months ago #1999

Okay, did some more digging. Looks like the module is referencing a PYD that's been pre-compiled. I'm thinking CR can't get at this (direct references to the module fail as well)?
The administrator has disabled public write access.
Time to create page: 0.193 seconds

Who's Online

We have 173 guests and 2 members online