Error module morkdown2
nCombo opened this issue · 5 comments
nCombo commented
Linux:
Error when i try to excute "$ python setup.py install" :
from markdown2 import markdown, markdown_path
ImportError: No module named markdown2
jmaupetit commented
Which version of python are you running? Did you try a pip install -r requirements.txt
first?
nCombo commented
I use Ubuntu 14.04 LTS where Python 2.7 is default version. But i can switch to Python 3.4
jmaupetit commented
And have you tried to clone the project and run:
$ pip install -r requirements.txt
nCombo commented
To use md2pdf, I do :
- git clone https://github.com.jmaupetit/md2pdf.git
- sudo apt-get libffi-dev (for ubuntu)
- sudo pip install -r requirements.txt (for python)
- sudo python setup.py install (to install md2pdf)
- md2pdf --css=my_markdown.css input.md output.pdf
notes:
You may indicate step by step for new Python user
Thank you for md2pdf
jmaupetit commented
Thank you for this contribution! I think it would be easier for non-pythonista to use the docker container. WDYT?