create account

How to install steem-python for Windows by holger80

View this thread on: hive.blogpeakd.comecency.com
· @holger80 · (edited)
$0.84
How to install steem-python for Windows
https://steemitimages.com/0x0/https://i.imgur.com/l8XMygV.png
I wrote this post, as it is not easy at the moment to install `steem-python` on Windows using Anaconda 5 with python 3.6.
#### 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_)
![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1516394205/nua3xhsar42b7sjx9e3l.png)
![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1516394223/iofwqe3x5ugekzz62t5t.png)
![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1516394270/xcflgahhodqbnwcl8pf8.png)
#### 2. Download the wheel for scrypt-0.8.0
I forked https://bitbucket.org/mhallin/py-scrypt and added Python 3.6 to _appveyor.yml_ after line 33: 
![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1516429648/n2gtp6aid4tntbaygyk4.png)
Then i added my forked repository in https://www.appveyor.com/ and started the build process. As a result, you can download the wheel for scrypt:
* 32 Bit - https://ci.appveyor.com/api/buildjobs/k1dr2pmqf8ltt6ov/artifacts/dist%2Fscrypt-0.8.0-cp36-cp36m-win32.whl
* 64 Bit - https://ci.appveyor.com/api/buildjobs/9lk03sim4m3avixp/artifacts/dist%2Fscrypt-0.8.0-cp36-cp36m-win_amd64.whl
#### 3. Start the Anaconda Prompt and install steem-python
* Start the _Anaconda Prompt_ ( You find it under Anaconda3)
* Install either the scrypt-wheel for 64Bit - Anaconda : `pip install scrypt-0.8.0-cp36-cp36m-win_amd64.whl`
* Or  install the scrypt-wheel for 32 Bit - Anaconda : `pip install scrypt-0.8.0-cp36-cp36m-win_amd32.whl`
![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1516398141/ngvnt7tbzimilzwfmnj2.png)
* Install ujson: `conda install ujson`
* Install steem by: `pip install steem`
#### 4. Using steem-python
* Enter  `python ` into the _Anaconda Prompt_ window
* set the node with  `nodes=['https://api.steemit.com']`
* import steem: `from steem import Steem`
* create a Steem object: `s = Steem(nodes)`
* read the number of created accounts: `s.get_account_count()`
![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1516392587/jfkce820hon88gei4bjm.png)
#### 5. Uninstall steem-python
In order to uninstall steem, you have to perform the following steps:
```
pip uninstall steem voluptuous toml pylibscrypt pipfile maya pendulum  
pytzdata langdetect humanize funcy ecdsa diff_match_patch dateparser  
regex tzlocal ruamel.yaml appdirs scrypt w3lib prettytable
```

#### 6. Optional - Use environment for installing steem
By creating an environment, the steem installation is kept separated and can be easily removed.
Before proceeding with step 3, apply the following:
```
conda create --name steemenv
```
Activate the environment every time by:
```
activate steemenv
```
You can now proceed with step 3.

Uninstalling can be performed by:
```
conda remove --name steemenv --all
```
   Please let me know if something does not work! Thanks for reading.

<br /><hr/><em>Posted on <a href="https://utopian.io/utopian-io/@holger80/how-to-install-steem-python-for-windows">Utopian.io -  Rewarding Open Source Contributors</a></em><hr/>
👍  , , , , , , , , , , , , ,
properties (23)
authorholger80
permlinkhow-to-install-steem-python-for-windows
categoryutopian-io
json_metadata"{"community": "utopian", "app": "beempy/0.23.10", "format": "markdown", "repository": {"id": 84843862, "name": "steem-python", "full_name": "steemit/steem-python", "html_url": "https://github.com/steemit/steem-python", "fork": false, "owner": {"login": "steemit"}}, "pullRequests": [], "platform": "github", "type": "tutorials", "tags": ["utopian-io", "steem-dev", "python", "tutorial", "steemit"], "links": ["https://www.anaconda.com/download/", "https://bitbucket.org/mhallin/py-scrypt", "https://www.appveyor.com/", "https://ci.appveyor.com/api/buildjobs/k1dr2pmqf8ltt6ov/artifacts/dist%2Fscrypt-0.8.0-cp36-cp36m-win32.whl", "https://ci.appveyor.com/api/buildjobs/9lk03sim4m3avixp/artifacts/dist%2Fscrypt-0.8.0-cp36-cp36m-win_amd64.whl", "https://utopian.io/utopian-io/@holger80/how-to-install-steem-python-for-windows"], "image": ["https://steemitimages.com/0x0/https://i.imgur.com/l8XMygV.png", "https://res.cloudinary.com/hpiynhbhq/image/upload/v1516394205/nua3xhsar42b7sjx9e3l.png", "https://res.cloudinary.com/hpiynhbhq/image/upload/v1516394223/iofwqe3x5ugekzz62t5t.png", "https://res.cloudinary.com/hpiynhbhq/image/upload/v1516394270/xcflgahhodqbnwcl8pf8.png", "https://res.cloudinary.com/hpiynhbhq/image/upload/v1516429648/n2gtp6aid4tntbaygyk4.png", "https://res.cloudinary.com/hpiynhbhq/image/upload/v1516398141/ngvnt7tbzimilzwfmnj2.png", "https://res.cloudinary.com/hpiynhbhq/image/upload/v1516392587/jfkce820hon88gei4bjm.png"], "moderator": {"account": "fuzeh", "time": "2018-01-19T22:55:54.997Z", "flagged": true, "reviewed": false, "pending": false}, "canonical_url": "https://hive.blog/utopian-io/@holger80/how-to-install-steem-python-for-windows"}"
created2018-01-19 21:56:15
last_update2020-05-23 14:41:51
depth0
children14
last_payout2018-01-26 21:56:15
cashout_time1969-12-31 23:59:59
total_payout_value0.650 HBD
curator_payout_value0.191 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length3,238
author_reputation358,857,509,568,825
root_title"How to install steem-python for Windows"
beneficiaries
0.
accountutopian.pay
weight2,500
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id30,718,513
net_rshares96,446,977,097
author_curate_reward""
vote details (14)
@fuzeh ·
Your contribution cannot be approved because it does not follow the [Utopian Rules](https://utopian.io/rules).

**Trivial on-screen installation processes are not acceptable as valid tutorials.**

You can contact us on [Discord](https://discord.gg/uTyJkNm).
**[[utopian-moderator]](https://utopian.io/moderators)**
properties (22)
authorfuzeh
permlinkre-holger80-how-to-install-steem-python-for-windows-20180119t225611278z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"community":"utopian","app":"utopian/1.0.0"}
created2018-01-19 22:56:12
last_update2018-01-19 22:56:12
depth1
children3
last_payout2018-01-26 22:56:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length314
author_reputation6,030,696,873,091
root_title"How to install steem-python for Windows"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id30,728,381
net_rshares0
@nicnas ·
If he fixed the wheel issue with windows then this should definetly be supported.
properties (22)
authornicnas
permlinkre-fuzeh-re-holger80-how-to-install-steem-python-for-windows-20180120t021805367z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2018-01-20 02:18:09
last_update2018-01-20 02:18:09
depth2
children2
last_payout2018-01-27 02:18:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length81
author_reputation38,554,121,369,241
root_title"How to install steem-python for Windows"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id30,758,945
net_rshares0
@holger80 · (edited)
It is not trivial to install steem on python 3.6 under windows. It is not easy to compile scrypt-0.8.0 on Windows. I forked  the repo and started the build server.
Now it is possible to install steem without having Visual studio installed.
When https://steemit.com/utopian-io/@amosbastian/how-to-install-steem-python-the-official-steem-library-for-python? is approved, then my posts should also be approved.
properties (22)
authorholger80
permlinkre-nicnas-re-fuzeh-re-holger80-how-to-install-steem-python-for-windows-20180120t061304485z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"community":"utopian","app":"utopian/1.0.0"}
created2018-01-20 06:13:06
last_update2018-01-20 06:48:45
depth3
children1
last_payout2018-01-27 06:13:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length407
author_reputation358,857,509,568,825
root_title"How to install steem-python for Windows"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id30,795,172
net_rshares0
@lukasmining ·
Hello @holger80 i encounter the following error.

distributed 1.21.8 requieres msgpack, which is not installed.

msgpack ist installed
properties (22)
authorlukasmining
permlinkre-holger80-how-to-install-steem-python-for-windows-20180609t154734943z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"users":["holger80"],"app":"steemit/0.1"}
created2018-06-09 15:42:21
last_update2018-06-09 15:42:21
depth1
children2
last_payout2018-06-16 15:42:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length134
author_reputation65,068,401,158
root_title"How to install steem-python for Windows"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id60,009,948
net_rshares0
@holger80 ·
$0.04
Here is a newer post about python-steem:
https://steemit.com/python/@holger80/python-steem-1-0-1-released
👍  ,
properties (23)
authorholger80
permlinkre-lukasmining-re-holger80-how-to-install-steem-python-for-windows-20180609t154541272z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"links":["https://steemit.com/python/@holger80/python-steem-1-0-1-released"],"app":"steemit/0.1"}
created2018-06-09 15:45:45
last_update2018-06-09 15:45:45
depth2
children1
last_payout2018-06-16 15:45:45
cashout_time1969-12-31 23:59:59
total_payout_value0.030 HBD
curator_payout_value0.006 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length105
author_reputation358,857,509,568,825
root_title"How to install steem-python for Windows"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id60,010,383
net_rshares14,111,528,975
author_curate_reward""
vote details (2)
@lukasmining ·
Thank you
properties (22)
authorlukasmining
permlinkre-holger80-re-lukasmining-re-holger80-how-to-install-steem-python-for-windows-20180609t174813129z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2018-06-09 17:48:12
last_update2018-06-09 17:48:12
depth3
children0
last_payout2018-06-16 17:48:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length9
author_reputation65,068,401,158
root_title"How to install steem-python for Windows"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id60,025,512
net_rshares0
@resteemable ·
**Your Post Has Been Featured on @Resteemable!** <br> Feature any Steemit post using resteemit.com! <br> **How It Works:** <br> 1. Take Any Steemit URL <br> 2. Erase `https://` <br> 3. Type `re`<br> Get Featured Instantly – Featured Posts are voted every 2.4hrs <br>[Join the Curation Team Here](streemian.com/profile/curationtrail/trailing/943)
properties (22)
authorresteemable
permlinkre-resteemable-how-to-install-steem-python-for-windows-20180120t223014905z
categoryutopian-io
json_metadata""
created2018-01-20 22:30:15
last_update2018-01-20 22:30:15
depth1
children0
last_payout2018-01-27 22:30:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length345
author_reputation711,299,530,826
root_title"How to install steem-python for Windows"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id30,965,495
net_rshares0
@roundbeargames ·
H O L Y F U C K
after about 3 hours of trying to pip install steem, i finally got it thanks to this post. i follow you now. will read every one of your posts. that's how happy i am. i literally screamed when it worked.
properties (22)
authorroundbeargames
permlinkre-holger80-how-to-install-steem-python-for-windows-20180206t091458701z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2018-02-06 09:15:00
last_update2018-02-06 09:15:00
depth1
children2
last_payout2018-02-13 09:15:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length218
author_reputation192,109,263,238,027
root_title"How to install steem-python for Windows"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id35,357,808
net_rshares0
@holger80 ·
I currently working on an improved version! Stay tuned.
properties (22)
authorholger80
permlinkre-roundbeargames-re-holger80-how-to-install-steem-python-for-windows-20180206t091916216z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2018-02-06 09:19:18
last_update2018-02-06 09:19:18
depth2
children1
last_payout2018-02-13 09:19:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length55
author_reputation358,857,509,568,825
root_title"How to install steem-python for Windows"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id35,358,587
net_rshares0
@roundbeargames ·
that's awesome. there was another solution on steemit where you could run it in ubuntu using a virtualmachine. either way, i'm happy it works!
properties (22)
authorroundbeargames
permlinkre-holger80-re-roundbeargames-re-holger80-how-to-install-steem-python-for-windows-20180206t120442502z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2018-02-06 12:04:42
last_update2018-02-06 12:04:42
depth3
children0
last_payout2018-02-13 12:04:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length142
author_reputation192,109,263,238,027
root_title"How to install steem-python for Windows"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id35,389,208
net_rshares0
@teenagecrypto ·
i cant install it because it keeps saying PermissionError: [Errno 13] Permission denied: 'c:\\python37\\lib\\site-packages\\setuptools-40.2.0.dist-info\\entry_points.txt'
properties (22)
authorteenagecrypto
permlinkre-holger80-how-to-install-steem-python-for-windows-20180825t141331690z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2018-08-25 14:13:30
last_update2018-08-25 14:13:30
depth1
children0
last_payout2018-09-01 14:13:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length170
author_reputation25,380,001,614,578
root_title"How to install steem-python for Windows"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id69,325,933
net_rshares0
@wil1liam ·
you fucking saved my day!!!! tried to install it for like 3-4 hours now and now with the help of your tutorial I got it....  THANK YOU!
properties (22)
authorwil1liam
permlinkre-holger80-how-to-install-steem-python-for-windows-20180127t190911262z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2018-01-27 19:09:24
last_update2018-01-27 19:09:24
depth1
children0
last_payout2018-02-03 19:09:24
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length135
author_reputation1,063,086,811,817
root_title"How to install steem-python for Windows"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id32,811,530
net_rshares0
@wilkas ·
I have installed "steem" library from Anaconda prompt and steem functions work from Python command prompt. But when I try to import "from steem import Steem" from within Spyder IDE, it does not work. Any help with this?
👍  
properties (23)
authorwilkas
permlinkre-holger80-how-to-install-steem-python-for-windows-20180521t110333441z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2018-05-21 11:03:33
last_update2018-05-21 11:03:33
depth1
children0
last_payout2018-05-28 11:03:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length219
author_reputation55,758,910,052
root_title"How to install steem-python for Windows"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id56,866,908
net_rshares1,196,272,102
author_curate_reward""
vote details (1)