create account

Steem Python in the Cloud - Possible or not? | Steem Python in der Cloud - Möglich oder nicht? by komischername

View this thread on: hive.blogpeakd.comecency.com
· @komischername ·
$5.67
Steem Python in the Cloud - Possible or not? | Steem Python in der Cloud - Möglich oder nicht?
German post is under the English post. | Deutscher Post ist unter dem Englischen Post



# Is it possible to install the Steem Python module in the cloud?

I wondered today how I can interact with the Steem Blockchain and would now like to show you an easy way. For this I use [Pythonanywhere](https://www.pythonanywhere.com/).

## Registration

To log in you need to [here](https://www.pythonanywhere.com/pricing/) and then click on the "Create a Beginner account" button. ![1.png](https://steemitimages.com/DQmecLc4UKugAmbM5WxEZdTrwdQCQKhmfENSPXdrYjYgfHk/1.png)

 Then you can create an account.
![2.png](https://steemitimages.com/DQmSrQMcwXyZXBdz38TrTt8iWeT2Fv42VCR2QQGrNxhvVBt/2.png)


After clicking on "Register" we will be redirected to the dashboard. PythonAnywhere offers us directly to participate in a tutorial. However, we will not do this now. For this we click on "End tour".
![3.png](https://steemitimages.com/DQmSPAUURSEVArbKfDf7hMUE3a2ZuawRtsuzRL1njktUKbE/3.png)


Next we click on "$ Bash" to open a console and download the Steem-Python module.

![4.png](https://steemitimages.com/DQmaMNLayRiKksk5MikTTvCT63oxGJnjLBowBqo7szA5RsE/4.png)

Therefore we enter `pip3 install --upgrade --user pipenv` in the console as the first command.

![5.png](https://steemitimages.com/DQmUKpgjmajDY7yRYvMpGASPNnP87NH67GNQKamtBSxGvU9/5.png)

After this package has been installed we can enter these commands into the console `` `git clone https://github.com/steemit/steem-python.git
cd steem-python
pipenv install --three --dev
pipenv install `` `

After a few minutes, the console will display this output:

![6.png](https://steemitimages.com/DQmfCbk6FrTrf7ibxx7sWkRGQeb5a94cU1SfehK2noBSC1g/6.png)


Now it should be possible to interact with the Steem Blockchain. However, when I tried to load the Steem module I received this error message.

![7.png](https://steemitimages.com/DQmWRV8CqUfcovs2vz8PL4nK856wj1ndjE3DhYRR6ahpi7M/7.png)


So I tried to install the missing module with PIP3. For this I used the command `pip3 install voluptuous --user`. I noticed that even more modules are not yet installed and I have also installed the remaining modules. After the 5th module, however, I stopped and tried using `pip3 install steem` to install all packages.

After the installation I tried to import the module and it finally worked.
![9.png](https://steemitimages.com/DQmPe4nHiuonjahnBENHqCZnpyiHrRHHikR6p34tC6xPFhG/9.png)

 However, I now face another problem that I could not solve yet. Currently, the module URLLIB3 can not connect to the node.
![10.png](https://steemitimages.com/DQmPBJiwD9QGiaNE5iGsBvhKjvGQ7RxPEXQLCSkSKyyuVc6/10.png)

But when I tried to do the same steps on a Raspberry Pi it worked. The following answer spit out the Steem module.
![11.png](https://steemitimages.com/DQmQC9NK93jkjaq2FV6Y11rbXjER4mxjos1tqtjHodfV9VM/11.png)



Personally, I find it very interesting that I have not yet managed to query on PythonAnywhere the SteemBlockchain. I will continue my research and maybe even test other providers.
______
# Wie installiert man Steem Python in der Cloud? 

Ich habe mich heute gefragt wie ich mit der Steem Blockchain interagieren kann und möchte euch jetzt einen einfache Möglichkeit zeigen. Hierfür nutze ich [Pythonanywhere](https://www.pythonanywhere.com/). 

## Anmeldung 

Um sich anzumelden musst du [hier](https://www.pythonanywhere.com/pricing/) und dann auf den "Create a Beginner account" Button klicken. ![1.png](https://steemitimages.com/DQmecLc4UKugAmbM5WxEZdTrwdQCQKhmfENSPXdrYjYgfHk/1.png)

 Danach kann man sich einen Account erstellen. 
![2.png](https://steemitimages.com/DQmSrQMcwXyZXBdz38TrTt8iWeT2Fv42VCR2QQGrNxhvVBt/2.png) 


Nach einem klick auf "Register" werden wir zum Dashboard weiter geleitet. PythonAnywhere bietet uns direkt an, an einem Tutorial teilzunehmen. Jedoch werden wir dies nun nicht machen. Dafür klicken wir auf "End tour".
![3.png](https://steemitimages.com/DQmSPAUURSEVArbKfDf7hMUE3a2ZuawRtsuzRL1njktUKbE/3.png)


Als nächstes klicken wir auf "$Bash" um eine Konsole zu öffnen und uns das Steem-Python Modul downzuloaden. 

![4.png](https://steemitimages.com/DQmaMNLayRiKksk5MikTTvCT63oxGJnjLBowBqo7szA5RsE/4.png)

Deshalb geben wir als ersten Befehl `pip3 install --upgrade --user pipenv` in die Konsole ein.

![5.png](https://steemitimages.com/DQmUKpgjmajDY7yRYvMpGASPNnP87NH67GNQKamtBSxGvU9/5.png)

Nachdem dieses Paket installiert worden ist können wir diese Befehle in die Konsole eingeben ```git clone https://github.com/steemit/steem-python.git
cd steem-python
pipenv install --three --dev
pipenv install ```

Nach einigen Minuten zeigt uns die Konsole diese Ausgabe an: 

![6.png](https://steemitimages.com/DQmfCbk6FrTrf7ibxx7sWkRGQeb5a94cU1SfehK2noBSC1g/6.png)


Nun sollte es möglich sein mit der Steem Blockchain zu interagieren. Jedoch als ich versucht habe das Steem Modul zu laden habe ich diese Fehlermeldung erhalten. 

![7.png](https://steemitimages.com/DQmWRV8CqUfcovs2vz8PL4nK856wj1ndjE3DhYRR6ahpi7M/7.png)


Also habe ich versucht das Fehlende Modul mittels PIP3 zu installieren. Dafür habe ich den Befehl `pip3 install voluptuous --user` genutzt. Dabei ist mir aufgefallen das noch mehr Module noch nicht installierst sind und habe die restlichen Module auch gleich installiert. Nach dem 5ten Modul habe ich jedoch aufgehört und mir per `pip3 install steem` versucht gleich alle Pakete mit zu installieren. 

Nach der Installation habe ich versucht das Modul zu importieren und es hat endlich funktioniert. 
![9.png](https://steemitimages.com/DQmPe4nHiuonjahnBENHqCZnpyiHrRHHikR6p34tC6xPFhG/9.png)

 Jedoch steh ich jetzt vor einem anderen Problem das ich bis jetzt noch nicht lösen könnte. Derzeitig kann das Modul URLLIB3 keine Verbindung zum Node herstellen. 
![10.png](https://steemitimages.com/DQmPBJiwD9QGiaNE5iGsBvhKjvGQ7RxPEXQLCSkSKyyuVc6/10.png)

Als ich jedoch versucht habe die selben Schritte auf einem Raspberry Pi durchzuführen hat es geklappt. Die folgende Antwort hat mir das Steem Modul ausgespuckt. 
![11.png](https://steemitimages.com/DQmQC9NK93jkjaq2FV6Y11rbXjER4mxjos1tqtjHodfV9VM/11.png)



Persönlich finde ich es sehr interessant das ich es bis jetzt noch nicht geschafft habe auf PythonAnywhere die SteemBlockchain abzufragen. Ich werde weiter forschen und vielleicht sogar andere Anbieter testen. 














👍  , , , , , , , , , , , , , , , , , , , ,
properties (23)
authorkomischername
permlinksteem-python-in-the-cloud---possible-or-not--steem-python-in-der-cloud---mglich-oder-nicht--1518889171-6400294
categorysteemit-austria
json_metadata"{"tags": ["deutsch", "code", "python", "steemdev"], "app": "streemian/scheduledpost"}"
created2018-02-20 09:38:54
last_update2018-02-20 09:38:54
depth0
children3
last_payout2018-02-27 09:38:54
cashout_time1969-12-31 23:59:59
total_payout_value4.305 HBD
curator_payout_value1.363 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length6,462
author_reputation3,029,117,970,019
root_title"Steem Python in the Cloud - Possible or not? | Steem Python in der Cloud - Möglich oder nicht? "
beneficiaries[]
max_accepted_payout1,000.000 HBD
percent_hbd10,000
post_id39,024,757
net_rshares1,010,865,148,404
author_curate_reward""
vote details (21)
@vasil-danev ·
That sounds cool, but why do you actualy need this for ? What can be achieved with this and what do you mean by communicating with Steem ? Sorry for the newbie questions 😀
properties (22)
authorvasil-danev
permlinkre-komischername-2018220t123548435z
categorysteemit-austria
json_metadata{"tags":["deutsch","code","python","steemdev"],"app":"esteem/1.5.1","format":"markdown+html","community":"esteem"}
created2018-02-20 10:35:51
last_update2018-02-20 10:35:51
depth1
children2
last_payout2018-02-27 10:35:51
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_length171
author_reputation2,497,470,077,261
root_title"Steem Python in the Cloud - Possible or not? | Steem Python in der Cloud - Möglich oder nicht? "
beneficiaries
0.
accountesteemapp
weight1,000
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id39,035,727
net_rshares0
@komischername ·
$0.04
I want to learn how I can build some "Apps" for the Steemblockchain. So it would be nice if I can run this on a server free server to test some of my ideas :) 

To communicate with Steem means to check some blocks on the Steem-Blockchain. Like if somebody have upvoted my post I get a mail or something like that.
👍  ,
properties (23)
authorkomischername
permlinkre-vasil-danev-re-komischername-2018220t123548435z-20180220t124945393z
categorysteemit-austria
json_metadata{"tags":["steemit-austria"],"app":"steemit/0.1"}
created2018-02-20 12:49:45
last_update2018-02-20 12:49:45
depth2
children1
last_payout2018-02-27 12:49:45
cashout_time1969-12-31 23:59:59
total_payout_value0.038 HBD
curator_payout_value0.006 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length313
author_reputation3,029,117,970,019
root_title"Steem Python in the Cloud - Possible or not? | Steem Python in der Cloud - Möglich oder nicht? "
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id39,062,837
net_rshares8,714,743,927
author_curate_reward""
vote details (2)
@vasil-danev ·
okay, now i get it thanks ! Hopefully we see one of your ideas implemented soon 😀
properties (22)
authorvasil-danev
permlinkre-komischername-2018220t16647510z
categorysteemit-austria
json_metadata{"tags":["steemit-austria"],"app":"esteem/1.5.1","format":"markdown+html","community":"esteem"}
created2018-02-20 14:06:51
last_update2018-02-20 14:06:51
depth3
children0
last_payout2018-02-27 14:06:51
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_reputation2,497,470,077,261
root_title"Steem Python in the Cloud - Possible or not? | Steem Python in der Cloud - Möglich oder nicht? "
beneficiaries
0.
accountesteemapp
weight1,000
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id39,079,708
net_rshares0