operations |
comment | "parent_author":"",<br>"parent_permlink":"utopian-io",<br>"author":"holger80",<br>"permlink":"how-to-install-steem-python-for-windows",<br>"title":"How to install steem-python for Windows",<br>"body":"https:\/\/steemitimages.com\/0x0\/https:\/\/i.imgur.com\/l8XMygV.png\nI wrote this post,<br> as it is not easy at the moment to install `steem-python` on Windows using Anaconda 5 with python 3.6.\n#### 1. Install Anaconda 5 with python 3.6\n* Go to https:\/\/www.anaconda.com\/download\/ and download the installer for Python 3.6\n* Start the installer (I normally choose that all user can use Python and change the path to _C:\\Anaconda3_)\n![image.png (https:\/\/res.cloudinary.com\/hpiynhbhq\/image\/upload\/v1516394205\/nua3xhsar42b7sjx9e3l.png)\n![image.png (https:\/\/res.cloudinary.com\/hpiynhbhq\/image\/upload\/v1516394223\/iofwqe3x5ugekzz62t5t.png)\n![image.png (https:\/\/res.cloudinary.com\/hpiynhbhq\/image\/upload\/v1516394270\/xcflgahhodqbnwcl8pf8.png)\n#### 2. Download the wheel for scrypt-0.8.0\nI forked https:\/\/bitbucket.org\/mhallin\/py-scrypt and added Python 3.6 to _appveyor.yml_ after line 33: \n![image.png (https:\/\/res.cloudinary.com\/hpiynhbhq\/image\/upload\/v1516429648\/n2gtp6aid4tntbaygyk4.png)\nThen i added my forked repository in https:\/\/www.appveyor.com\/ and startet the build process. As a result,<br> you can download the wheel for scrypt:\n* 32 Bit - https:\/\/ci.appveyor.com\/api\/buildjobs\/k1dr2pmqf8ltt6ov\/artifacts\/dist%2Fscrypt-0.8.0-cp36-cp36m-win32.whl\n* 64 Bit - https:\/\/ci.appveyor.com\/api\/buildjobs\/9lk03sim4m3avixp\/artifacts\/dist%2Fscrypt-0.8.0-cp36-cp36m-win_amd64.whl\n#### 3. Start the Anaconda Prompt and install steem-python\n* Start the _Anaconda Prompt_ ( You find it under Anaconda3)\n* Install either the scrypt-wheel for 64Bit - Anaconda : `pip install scrypt-0.8.0-cp36-cp36m-win_amd64.whl`\n* Or install the scrypt-wheel for 32 Bit - Anaconda : `pip install scrypt-0.8.0-cp36-cp36m-win_amd32.whl`\n![image.png (https:\/\/res.cloudinary.com\/hpiynhbhq\/image\/upload\/v1516398141\/ngvnt7tbzimilzwfmnj2.png)\n* Install ujson: `conda install ujson`\n* Install steem by: `pip install steem`\n#### 4. Using steem-python\n* Enter `python ` into the _Anaconda Prompt_ window\n* set the node with `nodes=['https:\/\/api.steemit.com' `\n* import steem: `from steem import Steem`\n* create a Steem object: `s = Steem(nodes)`\n* read the number of created accounts: `s.get_account_count()`\n![image.png (https:\/\/res.cloudinary.com\/hpiynhbhq\/image\/upload\/v1516392587\/jfkce820hon88gei4bjm.png)\n\n Please let me know if something does not work! Thanks for reading.\n\n<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\/>",<br>"json_metadata":" \"community\":\"utopian\",<br>\"app\":\"utopian\/1.0.0\",<br>\"format\":\"markdown\",<br>\"repository\"<br>\"id\":84843862,<br>\"name\":\"steem-python\",<br>\"full_name\":\"steemit\/steem-python\",<br>\"html_url\":\"https:\/\/github.com\/steemit\/steem-python\",<br>\"fork\":false,<br>\"owner\"<br>\"login\":\"steemit\" ,<br>\"pullRequests\":[ ,<br>\"platform\":\"github\",<br>\"type\":\"tutorials\",<br>\"tags\":[\"utopian-io\",<br>\"steem-dev\",<br>\"python\",<br>\"tutorial\",<br>\"steemit\" ,<br>\"users\":[\"holger80\" ,<br>\"links\":[\"https:\/\/res.cloudinary.com\/hpiynhbhq\/image\/upload\/v1516394205\/nua3xhsar42b7sjx9e3l.png\",<br>\"https:\/\/res.cloudinary.com\/hpiynhbhq\/image\/upload\/v1516394223\/iofwqe3x5ugekzz62t5t.png\",<br>\"https:\/\/res.cloudinary.com\/hpiynhbhq\/image\/upload\/v1516394270\/xcflgahhodqbnwcl8pf8.png\",<br>\"https:\/\/res.cloudinary.com\/hpiynhbhq\/image\/upload\/v1516429648\/n2gtp6aid4tntbaygyk4.png\",<br>\"https:\/\/res.cloudinary.com\/hpiynhbhq\/image\/upload\/v1516398141\/ngvnt7tbzimilzwfmnj2.png\",<br>\"https:\/\/res.cloudinary.com\/hpiynhbhq\/image\/upload\/v1516392587\/jfkce820hon88gei4bjm.png\" ,<br>\"image\":[\"https:\/\/res.cloudinary.com\/hpiynhbhq\/image\/upload\/v1516394205\/nua3xhsar42b7sjx9e3l.png\",<br>\"https:\/\/res.cloudinary.com\/hpiynhbhq\/image\/upload\/v1516394223\/iofwqe3x5ugekzz62t5t.png\",<br>\"https:\/\/res.cloudinary.com\/hpiynhbhq\/image\/upload\/v1516394270\/xcflgahhodqbnwcl8pf8.png\",<br>\"https:\/\/res.cloudinary.com\/hpiynhbhq\/image\/upload\/v1516429648\/n2gtp6aid4tntbaygyk4.png\",<br>\"https:\/\/res.cloudinary.com\/hpiynhbhq\/image\/upload\/v1516398141\/ngvnt7tbzimilzwfmnj2.png\",<br>\"https:\/\/res.cloudinary.com\/hpiynhbhq\/image\/upload\/v1516392587\/jfkce820hon88gei4bjm.png\" ,<br>\"moderator\"<br>\"account\":\"fuzeh\",<br>\"time\":\"2018-01-19T22:55:54.997Z\",<br>\"flagged\":true,<br>\"reviewed\":false,<br>\"pending\":false " |
|