Wednesday February 08 , 2012
Text Size
   
Welcome, Guest
Username Password: Remember me

New/Other Python Extensions?
(1 viewing) (1) Guest
Python Scripts for ComicRack
  • Page:
  • 1

TOPIC: New/Other Python Extensions?

New/Other Python Extensions? 3 years, 6 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?

Re:New/Other Python Extensions? 3 years, 6 months ago #1921

  • cYo
  • NOW ONLINE
  • Moderator
  • Posts: 2116
  • Karma: 109
try to set the path to the library Preferences/Advanced/Scripts/Paths in ComicRack

Re:New/Other Python Extensions? 3 years, 6 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.

Re:New/Other Python Extensions? 3 years, 5 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)?
  • Page:
  • 1
Time to create page: 0.43 seconds

Who's Online

We have 254 guests and 1 member online
  • cYo

PIM

You are not logged in.