Unable to have a working installation: libnacl issue − poetry install
I'm unable to get Silkaj working with Ubuntu 18.04 (with python 3.6.9 and pip 9.0.1)
I tried to install it with pip3 :
`pip3 install silkaj --user`
And run it with :
`~/.local/bin/silkaj`
But got an error with libnacl which is used by DuniterPy :
> File "/home/dede/.local/lib/python3.6/site-packages/duniterpy/key/ascii_armor.py", line 17, in <module>
VERSION_FIELD_VALUE = "Python Libnacl " + libnacl.__version__
AttributeError: module 'libnacl' has no attribute '__version__'
Tried to install libnacl via `apt` but pip does not use it.
I don't understand why `__version__` is not present in pip version of libnacl.
Here is what `print(libnacl.__file__)` tells me :
> /home/dede/.local/lib/python3.6/site-packages/libnacl/__init__.py
Which seems to be OK.
I tried to uninstall and reinstall libnacl but got the same problem.
So, I tried to install it locally via poetry (don't know this tool) and seems that dependencies are not installed...
When I tried :
`~/.local/bin/poetry run silkaj`
I got this error :
`ModuleNotFoundError: No module named 'click'`
Despite the fact that click is installed (at least via pip)...
I'm not a python expert, but I used pip for projects which uses click and didn't have any of those problems...
If someone can put me to the right direction it would be great.
Thanks,
Andréas
issue