steemit / steem-python

The official Python (3) library for the Steem Blockchain.
https://steem.io
MIT License
154 stars 99 forks source link

Installation guide update #94

Closed clayop closed 6 years ago

clayop commented 6 years ago

Added dependency installation and attempts to deal with python3 version issue.

theoreticalbts commented 6 years ago

Replacing the system Python interpreter is considered bad practice and may cause problems. IMHO we should recommend for environments without Python 3.6 to build Python manually in a path under the user's home directory, then use virtualenv -p /path/to/python3.6/bin/python3 to create a virtualenv specifically for steem-python. Especially considering steem-python is very picky about the library versions it uses (see requirements.txt lists exact version numbers for EVERY LIBRARY, in fact it looks like just the output of pip freeze).

For best results we should also include libbz2-dev libssl-dev libreadline-dev libsqlite3-dev , I've personally had problems using steem-python along with a Python 3.6 built without these packages.

clayop commented 6 years ago

It seems a better option. Thanks @theoreticalbts

cyon1c commented 6 years ago

Closing - stale pr.