charlesjlee / steemBot

a simple Steem bot using Python, piston, and Heroku
MIT License
6 stars 48 forks source link

Cannot find SteemConnector #1

Closed ghost closed 6 years ago

ghost commented 6 years ago

It appears that the heroku python3.6 site package for piston is incomplete or, more likely, I am doing something wrong. I'm trying to run steembot (which I named epfsteembot01) following your directions. It builds on heroku but when I run it, I get:

heroku run python bot.py -a epfsteembot01 Running python bot.py on epfsteembot01... up, run.8416 (Free) Traceback (most recent call last): File "bot.py", line 9, in from piston.steem import Steem File "/app/.heroku/python/lib/python3.6/site-packages/piston/steem.py", line 3, in from steem.steem import SteemConnector as SteemConnectorSteem ImportError: cannot import name 'SteemConnector'

I went to the piston github but could not find a reference to steemConnector in steem.py. Can you offer any advice?

charlesjlee commented 6 years ago

The piston library xeroc/piston is now deprecated; the successor is xeroc/piston-cli

ghost commented 5 years ago

Closing without updating the repo didn't actually address the issue?

ghost commented 5 years ago

pip3 install piston-cli

change import in bot.py to from steem import Steem