create account

RE: Steemit post Bot like @wang for introduceyourself by davidrobison

View this thread on: hive.blogpeakd.comecency.com

Viewing a response to: @bunny/re-seagul-steemit-post-bot-like-wang-for-introduceyourself-20160720t020144952z

· @davidrobison ·
I'm using Windows and had the same problem. For some reason PYTHONPATH didn't have the default directory for all my python packages listed.

At the top of your "post_test.py" file put:

import sys
print(sys.path)

That will tell you what PYTHONPATH is searching through for imports. Use ."append" to add the location of your steemapi folder. For me that was:

import sys
sys.path.append("C:\Python34\Lib\site-packages")
print(sys.path)
properties (22)
authordavidrobison
permlinkre-bunny-re-seagul-steemit-post-bot-like-wang-for-introduceyourself-20160818t233508641z
categoryhacking
json_metadata{"tags":["hacking"]}
created2016-08-18 23:35:09
last_update2016-08-18 23:35:09
depth2
children0
last_payout2016-08-24 12:53:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length435
author_reputation51,670,338,162
root_title"Steemit post Bot like @wang for introduceyourself"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id879,913
net_rshares0