RE: Steemit post Bot like @wang for introduceyourself

You are viewing a single comment's thread from:

Steemit post Bot like @wang for introduceyourself

in hacking •  8 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)

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!