J’ai désinstallé silkaj via pacman.
Puis installé avec sudo pip install
Ça déconne à l’installation:
Requirement already satisfied: chardet<4.0,>=2.0 in /usr/lib/python3.9/site-packages (from aiohttp<4.0.0,>=3.6.1->duniterpy==0.58.1->silkaj) (3.0.4)
Collecting typing-extensions>=3.6.5
Downloading typing_extensions-3.7.4.3-py3-none-any.whl (22 kB)
Collecting async-timeout<4.0,>=3.0
Downloading async_timeout-3.0.1-py3-none-any.whl (8.2 kB)
Requirement already satisfied: pycparser in /usr/lib/python3.9/site-packages (from cffi>=1.4.1->PyNaCl<2.0,>=1.3->silkaj) (2.20)
Requirement already satisfied: idna>=2.0 in /usr/lib/python3.9/site-packages (from yarl<2.0,>=1.0->aiohttp<4.0.0,>=3.6.1->duniterpy==0.58.1->silkaj) (2.10)
Using legacy 'setup.py install' for pypeg2, since package 'wheel' is not installed.
Using legacy 'setup.py install' for pylibscrypt, since package 'wheel' is not installed.
Installing collected packages: attrs, libnacl, pypeg2, pylibscrypt, multidict, yarl, typing-extensions, async-timeout, aiohttp, duniterpy, texttable, ipaddress, tabulate, PyNaCl, silkaj
Attempting uninstall: attrs
Found existing installation: attrs 20.3.0
Uninstalling attrs-20.3.0:
Successfully uninstalled attrs-20.3.0
Running setup.py install for pypeg2 ... done
Running setup.py install for pylibscrypt ... done
ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.
We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default.
ueberzug 18.1.7 requires pillow, which is not installed.
Successfully installed PyNaCl-1.4.0 aiohttp-3.7.3 async-timeout-3.0.1 attrs-19.3.0 duniterpy-0.58.1 ipaddress-1.0.23 libnacl-1.7.2 multidict-5.1.0 pylibscrypt-1.8.0 pypeg2-2.15.2 silkaj-0.8.1 tabulate-0.8.7 texttable-1.6.3 typing-extensions-3.7.4.3 yarl-1.6.3
Ensuite, ça merde à l’utilisation:
silkaj argos
Traceback (most recent call last):
File "/usr/bin/silkaj", line 8, in <module>
sys.exit(cli())
File "/usr/lib/python3.9/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3.9/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/usr/lib/python3.9/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3.9/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3.9/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/usr/lib/python3.9/site-packages/silkaj/tools.py", line 53, in wrapper
return loop.run_until_complete(f(*args, **kwargs))
File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/usr/lib/python3.9/site-packages/silkaj/commands.py", line 235, in argos_info
head_block = await HeadBlock().head_block
File "/usr/lib/python3.9/site-packages/silkaj/blockchain_tools.py", line 51, in get_head
return await client(blockchain.current)
File "/usr/lib/python3.9/site-packages/duniterpy/api/bma/blockchain.py", line 270, in current
return await client.get(MODULE + "/current", schema=BLOCK_SCHEMA)
File "/usr/lib/python3.9/site-packages/duniterpy/api/client.py", line 362, in get
response = await client.requests_get(url_path, **params)
File "/usr/lib/python3.9/site-packages/duniterpy/api/client.py", line 238, in requests_get
response = await self.connection_handler.session.get(
File "/usr/lib/python3.9/site-packages/aiohttp/client.py", line 619, in _request
break
File "/usr/lib/python3.9/site-packages/aiohttp/helpers.py", line 656, in __exit__
raise asyncio.TimeoutError from None
asyncio.exceptions.TimeoutError
ERROR:asyncio:Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f6dee777190>