You are viewing a single comment's thread from:

RE: Steemit post Bot like @wang for introduceyourself

in #hacking8 years ago

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)

Coin Marketplace

STEEM 0.16
TRX 0.16
JST 0.028
BTC 69221.02
ETH 2416.51
USDT 1.00
SBD 2.37