I found that installing leaf has dependency on python-jinja2 and python-jinja2 is not supported on latest 64 bit Ubuntu 22 LTS. However it installs well on the older 32 bit Ubuntu 16 LTS. Is there a known issue with latest Ubuntu or it is with the machine architecture (64 and 32 bit OS)?
Other user can make it work in Ubuntu22.04 :
Are you using same commands as him?
Have tried :
pip2 install python-jinja2
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at Release process - pip documentation v24.0.dev0 pip 21.0 will remove support for this functionality.
ERROR: Could not find a version that satisfies the requirement python-jinja2 (from versions: none)
ERROR: No matching distribution found for python-jinja2
Does this help to downgrade the pip version?
Downgraded pip to 20.3.4 but still :
pip install python-jinja2
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement python-jinja2
ERROR: No matching distribution found for python-jinja2
you can see if this helps:
This is not the solution!
I want to understand : Is leaf designed to work on 64 bit Ubutu? If it is then why there is a dependency on python-jinja2 ?
Yes, i can run in ubunt 16 and 18 64 bit pc