Fixing textext on Inkscape for Windows

It seems someone beat me to the punch by 14 hours!  See this link for the same package: http://sourceforge.net/apps/trac/timink/#MSWindows

The most recent versions of Inkscape for Windows (0.48 right now) ship with python 2.6.  However, the textext extension was written for an older version of Inkscape (0.46, I believe) that shipped with python 2.5.  Hence, when textext installs itself, it downloads all the python packages it needs — for python 2.5.  These packages do not work with python 2.6.

Anyway, I’ve packaged up the relevant python packages.  Download the package here: https://dgleich.com/upload/site-packages.zip

To use these, unzip the files into C:\Program Files (x86)\Inkscape\python\Lib\site-packages (or wherever you have installed Inkscape.)

Here is what I did to collect them:

  1. Install a 32-bit version of Python 2.6 (I have a 64-bit version of windows)
  2. Download pygtk, pyobject, and pycairo from http://www.pygtk.org/downloads.html
  3. Install all three into python.  (I had to manually run all as Administrator on Windows 7).  This will install them into C:\Python26\Lib\site-packages
  4. Find this directory, and copy the following files into the Inkscape site-packages directory.  (These files are the contents of the zip file.)
    pycario-*.egg-info
    pygtk.pth
    pygtk.py
    pygtk.pyc
    pygtk.pyo
    cairo\
    gtk-2.0\
This entry was posted in Code. Bookmark the permalink.

7 Responses to Fixing textext on Inkscape for Windows

  1. Pingback: ぼやっきんぐ » Blog Archive » Inkscape 0.48.1 で TexText を使ってみた。

  2. Pingback: Fixing textext on Inkscape 0.48 « La Consigna

  3. David says:

    Hey, thank you very much for collecting all relevant packages, but could you please be so kind and update the link to the zip-file? At the moment, all I get is a server connection error. I tried to collect the packages myself, but somehow I failed, because textext wasn’t fixed.

  4. David says:

    That’s ok. Thank you very much!

  5. Pingback: Inkscape 0.4.8+TexText | にろきのメモ帳

  6. Teflon says:

    Could not download the zip file with firefox 27. I had to use Internet Explorer to get around the certificate. That’s nasty. Please fix it.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s