zhaoterryy / mkdocs-pdf-export-plugin

An MkDocs plugin to export content pages as PDF files
MIT License
312 stars 43 forks source link

Issue in installing #11

Closed cooltrooper closed 5 years ago

cooltrooper commented 5 years ago
pip install mkdocs-pdf-export-plugin

Collecting mkdocs-pdf-export-plugin
  Could not find a version that satisfies the requirement mkdocs-pdf-export-plugin (from versions: )
No matching distribution found for mkdocs-pdf-export-plugin
shauser commented 5 years ago

Which python version are you using? The plugin currently works with Python 3.4 or higher only.

cooltrooper commented 5 years ago

I have both installed, so i assume pip is using the wrong version?

shauser commented 5 years ago

The easiest way to use pip is by using virtualenv. You can define which version of python to use when creating the virtualenv:

virtualenv ./venv/ --python python3
source ./venv/bin/activate
pip install mkdocs mkdocs-pdf-export-plugin
mkdocs build

More information is available here: https://virtualenv.pypa.io/en/stable/installation/

cooltrooper commented 5 years ago

I'll look into it thanks! Could you add it on the requirements list?