WebFaction
Community site: login faq

I am trying to deploy a Django app that uses tastypie onto my Webfaction server. I installed tastypie using: easy_install django-tastypie, and I added 'tastypie' to my settings.py file. When I check my logs, I still get this error:

Caught ImportError while rendering: no module named tastypie

How come I cannot read the tastypie module that I just installed? Do I need to add the directory as a PATH?

asked 26 Apr '12, 22:55

kelp
1234
accept rate: 0%

1

Is your Django app using Python 2.7?

If so, you should use:

easy_install-2.7 django-tastypie

to do the install.

(26 Apr '12, 23:01) neeravk

That worked well. Thanks!

(29 Apr '12, 22:31) kelp
Be the first one to answer this question!
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
×337
×2

question asked: 26 Apr '12, 22:55

question was seen: 6,417 times

last updated: 29 Apr '12, 22:31

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