Sort:  

Thanks for the tips! You saved me lots of time, so here you have a Dockerfile based on your post:

#
# dropahead steempy container
#
# VERSION               0.0.1
#

FROM python:3

# Update packages
RUN apt-get update
RUN apt-get upgrade -y

# Install steempy
RUN pip install -U steem

# Patch steempy metadata
RUN sed -i 's/0.9.3.1/0.9.3/' /usr/local/lib/python3.6/site-packages/steem-0.18.103.dist-info/METADATA

# Start supervisor
CMD ["/bin/sh"]

glad it helped!
You could even reduce this file to

FROM python:3
RUN pip install -U steem
RUN sed -i 's/(==0.9.3.1)/(==0.9.3)/g' /usr/local/lib/python3.6/site-packages/steem*/METADATA

apt-get update/upgrade is not necessarily needed (for steem-python to work - security is a different aspect). And with the wildcard in the sed command you should be safe with steem-python version bumps.

Well done putting this guide together!
I just reinstalled a host a few days ago and ran into exactly these issues. :)

Congratz !
You just got a 60% ⚡️ Powered up ⚡️ Upvote

Congratulations @crokkon! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of upvotes received

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

well done crokkon, once again!

Congratulations! This post has been upvoted from the communal account, @minnowsupport, by crokkon from the Minnow Support Project. It's a witness project run by aggroed, ausbitbank, teamsteem, theprophet0, someguy123, neoxian, followbtcnews/crimsonclad, and netuoso. The goal is to help Steemit grow by supporting Minnows and creating a social network. Please find us in the Peace, Abundance, and Liberty Network (PALnet) Discord Channel. It's a completely public and open space to all members of the Steemit community who voluntarily choose to be there.

I was able to install steempy by first installing Anaconda, then I had to edit the METADATA of toml like you did. Thanks for the tip @crokkon

Qurator
Your Quality Content Curator
This post has been upvoted and given the stamp of authenticity by @qurator. To join the quality content creators and receive daily upvotes click here for more info.
Qurator is proudly supported by @reggaemuffin, vote for him as a witness here.

Thanks, saved me time as well.

I dont know is it a cheating, but this tip with change requirements is awesome! Thank you!

Coin Marketplace

STEEM 0.26
TRX 0.20
JST 0.037
BTC 94588.50
ETH 3439.35
USDT 1.00
SBD 3.95