You are viewing a single comment's thread from:

RE: Installing Python 3.6 on Ubuntu 16.04

in #howto7 years ago (edited)

toml related errors causes the following errors:

  • . scripts using steem-python will give the following error:
WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=0, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f465be17f28>: Failed to establish a new connection: [Errno -5] No address associated with hostname',)': /
  • . steempy will give the following error:
Original exception was:
Traceback (most recent call last):
  File "/usr/local/bin/steempy", line 7, in <module>
    steem.cli.legacy()
  File "/usr/local/lib/python3.6/dist-packages/steem/cli.py", line 83, in legacy
    version=pkg_resources.require("steem")[0].version
  File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", line 984, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py", line 875, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (toml 0.9.3 (/usr/local/lib/python3.6/dist-packages), Requirement.parse('toml==0.9.3.1'), {'steem'})

how to fix ?

edit /usr/local/lib/python3.6/dist-packages/steem-0.18.103.dist-info/METADATA and change

*toml (==0.9.3.1)*

to

*toml (==0.9.3)*

to test, do the following

steempy set nodes https://steemd.privex.io

and run

steempy

Coin Marketplace

STEEM 0.17
TRX 0.15
JST 0.029
BTC 60752.38
ETH 2453.49
USDT 1.00
SBD 2.63