Django app on Webfaction: Shopify module import issue

Hey everyone,

I’m having trouble with my Django app on Webfaction. Everything was fine on my local machine, but now I’m getting an import error for the Shopify module.

Here’s what’s going on:

  • The site is up and running on Webfaction
  • Most features work as expected
  • But when I try to use ShopifyAPI, I get ‘Import error, no module named shopify’ in views.py
  • I tried installing ShopifyAPI via SSH using easy_install, but I’m not sure if it worked

Has anyone faced this before? Are there any Webfaction-specific steps I’m missing? Or could there be limitations with ShopifyAPI I haven’t thought of?

Any help would be awesome. Thanks in advance!

hey ethant, had similar issue. check ur virtualenv - webfaction can be tricky with that. try ‘pip install ShopifyAPI’ in the right env. also, double-check PYTHONPATH. sometimes webfaction needs manual tweaking there. good luck!