WebFaction
Community site: login faq
0
1

After adding django.contrib.markup to my installed apps, adding {% load markup %} to my template and calling |textile on a template tag, I get the following error:

Error in {% textile %} filter: The Python textile library isn't installed.

How do I install the Python textile library on Webfaction (or Markdown)?

(Or more importantly, I think the question is where do I install the library? Does it go somewhere in my Python 2.6 folder for that app?)

asked 24 Oct '10, 10:59

austin
613
accept rate: 0%


You can install if with easy_install:

easy_install-2.6 textile

This will install it globally for your account, so if you'd rather just install it for a single application you can manually download the package and place it into

~/webapps/<app>/lib/python2.X/
permanent link

answered 24 Oct '10, 11:03

David L ♦♦
1.4k13
accept rate: 45%

edited 25 Oct '10, 09:28

Better to use virtualenv. pip install virtualenv

You can specify your python version while creating env, virtualenv -p /usr/bin/python2.6 Then just run pip install textile

It will help you installing it locally, also save you from the pain of installing it from the source manually.

permanent link

answered 05 Oct '12, 06:06

mmrs151
1
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×909
×2
×1
×1

question asked: 24 Oct '10, 10:59

question was seen: 8,801 times

last updated: 05 Oct '12, 06:06

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM