How to install steem-python on windows
There are a lot of posts about installing steem-python on windows.
What is the source of the problems?
steem-python needs pycrypto. pycrypto has seen its last update in 20 Jun 2014. It has 112 unsolved issues and 54 open pull requests. 20 open issues are about installing pycrypto on windows.
Solution
The solution is to use Anaconda/Miniconda and to
install pycrypto from conda-forge. In the feedstock, four patches are applied to the source in order to fix all problems.
1. Install Anaconda 5 with python 3.6
- Go to https://www.anaconda.com/download/ and download the installer for Python 3.6
- Start the installer (I normally choose that all user can use Python and change the path to C:\Anaconda3)
2. Start the Anaconda Prompt and add the conda-forge channel
- Start the Anaconda Prompt ( You find it under Anaconda3)
- Add the conda-forge channel by entering the following into the prompt:
conda config --add channels conda-forge
3. Install steem-python
There are now three different ways to install python-steem.
3.1. Install steem-python with conda
- Open the Anaconda Prompt ( You find it under Anaconda3)
- Install python-steem by
conda install steem
- The command line tools are available inside of the Anaconda Prompt and can be called by
steempy
- The command line tools are inside AnacondaDir\Scripts, so when adding this directory and AnacondaDir to the path variable of windows, the tools are also available outside the Anaconda Prompt.
3.2. Install the development version of steem-python
- Go to the github of python-steem
- Clone the repository to your drive
- Open the Anaconda Prompt ( You find it under Anaconda3)
- Install all dependencies by:
conda install --only-deps steem
- build
python-steemby
cd <dir_of_python_steem>
python setup.py build
python setup.py install --user
- The command line tools are not available when installing steem-python in this way.
3.3. Install steem-python with pip
- Open the Anaconda Prompt ( You find it under Anaconda3)
- Install all dependencies by:
conda install --only-deps steem
- Install python-steem by
pip install steem
- The command line tools are not available when installing steem-python in this way.
I'm managing the steem-foodstock for python-steem. In case of problems please create a new issue.
Leave How to install steem-python on windows to:
Read more #python posts
Best Posts From Holger
We have not curated any of holger80's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From Holger
- BLURT is under heavy spam attack right now
- Beempy post will create a new post, when changing the title in the yaml header, will fix this soon.
- EOS inflates their blocktivity stats by massively sending batched transactions with a value of 0.0001 EOS
- Verify blocktivity numbers for Hive and Blurt
- How to use a coldcard MK3 to derive your new account password from a 24 word seed
- Update for beem: improved account history handling
- How to use beempy in tails (e.g. for changing the account keys)
- update for beem: make beem/beempy ready for tails
- update for beem: changes regarding HF24
- update for beem: compatibility issues with HF24 have been fixed