python steemit 개발 시작 (환경구축) #1

in #kr-dev8 years ago (edited)

@recrack 입니다.

Steem auto posting(글작성)을 하기위해 https://github.com/steemit/steem-python 을 사용해보려고 합니다.
steem python은 python 3.6 (or newer)을 권장하고 있습니다.

시작부터 개발 환경문제가 있네요 ㅎㅎ

설치

pip install -U steem

에러 1

https://stackoverflow.com/questions/26053982/error-setup-script-exited-with-error-command-x86-64-linux-gnu-gcc-failed-wit

에러 2
해결방법
libssl-dev 와 python3.6가 설치가 안되어있어서 발생하는 문제였습니다. ㅎㅎ

https://stackoverflow.com/questions/44287006/failed-building-wheel-for-scrypt-python-ethereum-pyethapp
sudo apt-get install libssl-dev
sudo apt-get install python3.6

steem install 완료(정상)

steem 동작 테스트

(참고 : https://steemit.com/kr-dev/@tmkor/steem-api-with-python)

환경구축 순서

  1. AWS or 리눅스 환경 구축
  2. Python 3.6 ( or newer) 설치
  3. pip3 설치
  4. virtualenv (for python 3.6)
  5. pip install -U steem (steem 설치)
  6. steem api 테스트

개발 환경

AWS ubuntu 16.04
python 3.6
virtualenv
pip3

도움이 되셨나요? ^^
궁금한점 있으시면 댓글주세요!!

코인개발

Sort:  

스팀 오토 포스팅이란게 정확히 무엇을 말하는건가요?😅

자동으로 글작성(Posting)을 말합니당!!^^

맥 환경 입니다. 에러가 나네요. ㅜㅜ

>>> from steem.blog import Blog
>>> blog = Blog("recrack")
WARNING:urllib3.connectionpool:Retrying (Retry(total=19, connect=None, read=None, redirect=0, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x102e5b470>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known',)': /

이글을 보시겠어요? node 세팅 오류 입니다.^^
방금 에러 이슈 글에 대해서 포스팅 했어요!!
https://steemit.com/kr/@recrack/python-steemit-2-2-warning-urllib3-connectionpool-retrying-error

드디어 성공했습니다. 감사합니다.

축하드립니당!!~ 언제든지 개발관련 이야기 나눠요~~

능력자가 나타나셨네요!! 파이썬 자바를 배워야겠네요 ㅠㅠ 비전공자는 서럽습니다

Coin Marketplace

STEEM 0.13
TRX 0.35
JST 0.035
BTC 115955.47
ETH 4472.38
SBD 0.86