Installing steem-python is very frustrating:
- At the moment, it is not easily possible to install steem-python on windows
- The steem python version from pypi cannot be compiled, as it requires a wrong toml version which does not exists
- the cli programms do not run, as the node cannot be changed and the default node is offline
Bug fixes
Installing steem-python by conda-forge fixes:
- https://github.com/steemit/steem-python/issues/90
- https://github.com/steemit/steem-python/issues/92
- https://github.com/steemit/steem-python/issues/96
- https://github.com/steemit/steem-python/issues/97
- https://github.com/steemit/steem-python/issues/106
- https://github.com/steemit/steem-python/issues/111
- https://github.com/steemit/steem-python/issues/112
- https://github.com/steemit/steem-python/issues/114
- https://github.com/steemit/steem-python/issues/144
These open issues have been fixed by patching the source code of the release source from pypi and by using only conda packages for installing steem. The patches to fix the broken node can be found in this commit.
I pushed them here https://github.com/conda-forge/steem-feedstock/commit/751b620e91d60a5a9152e684aa5f8de968362949.
In order to install steem with conda, I also pushed the following PR:
- https://github.com/conda-forge/staged-recipes/pull/5109
- https://github.com/conda-forge/staged-recipes/pull/5107
- https://github.com/conda-forge/staged-recipes/pull/5106
Installing steem-python
After installing Miniconda / Anaconda on either Linux, OSX or Windows just do:
conda config --add channels conda-forge
conda install steem
You can use the three cli-programs (steempy and piston are doing the same):
- steempy / piston
- steemtail
and the python classes
import steemimport steembase
Please test this and report bugs regarding installation steem in the steem-feedstock:
I patched the released source code less as possible. You can see the patches here:
- https://github.com/conda-forge/steem-feedstock/blob/master/recipe/Pipfile.lock.patch
- https://github.com/conda-forge/steem-feedstock/blob/master/recipe/cli.py.patch
- https://github.com/conda-forge/steem-feedstock/blob/master/recipe/steemd.py.patch
In order to be able to add steem to conda-forge, I added the following feedstocks:
- https://github.com/conda-forge/scrypt-feedstock/
- https://github.com/conda-forge/sphinxcontrib-programoutput-feedstock/
- https://github.com/conda-forge/sphinxcontrib-restbuilder-feedstock/
- https://github.com/conda-forge/pytest-pylint-feedstock/
- https://github.com/conda-forge/pylibscrypt-feedstock/
- https://github.com/conda-forge/pipfile-feedstock/
If you have issues, please report them in the specific repository.
Posted on Utopian.io - Rewarding Open Source Contributors