Enrico Galli
Enrico Galli

Reputation: 21

FontAwesome with Python

I'm trying to use the Font Awesome icon set for python but I can't manage to make it work. I'm following all the instructions I found on https://pypi.org/project/fontawesome/ but somehow the end result is not what expected. If I run those 2 simple lines I end up with some kind of indian or arabic symbol.

import fontawesome as fa  
print(fa.icons['thumbs-up'])

Does anyone here have experience with this module?

Thanks

Upvotes: 0

Views: 4177

Answers (1)

Chris P
Chris P

Reputation: 2357

  1. pip3 install fontawesome
  2. sudo apt-get update -y
  3. sudo apt-get install -y fonts-font-awesome
  4. pip3 install pypandoc
  5. pip3 install py-pandoc
  6. Downloading from: https://pypi.org/project/pypandoc/#files then python3.6 setup.py build and python3.6 setup.py install
  7. Downloading fontawesome from https://pypi.org/project/fontawesome/ then python3.6 setup.py build and python3.6 setup.py install

I think 31,32 it's not necessary

Upvotes: 1

Related Questions