Real Estate Python Code on Unix Server Setup

Real Estate Python Code on Unix Server Setup

Postby agasenko » Wed Sep 04, 2013 6:00 am

Im trying to set up my wordpress site to have an automatic real estate feed and I'm following this http://www.shift8web.com/blog/treb-idx-wordpress-integration guide. I don't know what Im doing wrong.

I have remote terminal command control access through an SSH key.

When I use use the command
Code: Select all
treb_wordpress.py install
it gives me this error

Code: Select all
line 22, in ? import csv, sys, urllib, urlparse, string, time, locale, os, os.path, socket, re, requests, xmlrpclib,errno ImportError: No module named requests


Im thinking is error is caused because I did not run
Code: Select all
setup.py
on the server.

I downloaded python-wordpress-xmlrpc-master and put the files on the server, but when I tried
Code: Select all
setup.py install
I got a permissions error. Which I fixed and made the file executable(777). Now when I try to install it through the terminal (by entering
Code: Select all
setup.py install
) I get
Code: Select all
: No such file or directory


As you can tell Im totally lost. If someone could help me out with this it would be amazing!
Last edited by Mekire on Wed Sep 04, 2013 6:13 am, edited 1 time in total.
Reason: First post lock.
agasenko
 
Posts: 1
Joined: Wed Sep 04, 2013 4:16 am

Re: Real Estate Python Code on Unix Server Setup

Postby stranac » Wed Sep 04, 2013 12:43 pm

Try:
Code: Select all
python setup.py install


Also, the error is saying that you're missing the requests library.
You might need to install that separately.
Friendship is magic!

R.I.P. Tracy M. You will be missed.
User avatar
stranac
 
Posts: 1218
Joined: Thu Feb 07, 2013 3:42 pm


Return to Web Development

Who is online

Users browsing this forum: No registered users and 2 guests